Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.hammurapi.reasoning.impl
Class HandleList<E>

    java.lang.Object
      com.hammurapi.reasoning.impl.HandleCollection<E>
          com.hammurapi.reasoning.impl.HandleList<E>

All Implemented Interfaces:
  Iterable<E>, Collection<E>, ReadWriteLock, List<E>

    public class HandleList<E>

extends HandleCollection<E>
implements List<E>

Field Summary

Fields inherited from class com.hammurapi.reasoning.impl.HandleCollection
`handleCollection, knowledgeBase`

Constructor Summary
`HandleList(KnowledgeBase<E> kb, List<Handle<E>> handleCollection)`

Method Summary
`void` | `add(int index, E element)`
`boolean` | `addAll(int index, Collection<? extends E> c)`
`E` | `get(int index)`
`int` | `indexOf(Object o)`
`int` | `lastIndexOf(Object o)`
`ListIterator<E>` | `listIterator()`
`ListIterator<E>` | `listIterator(int index)`
`E` | `remove(int index)`
`E` | `set(int index, E element)`
`List<E>` | `subList(int fromIndex, int toIndex)`

Methods inherited from class com.hammurapi.reasoning.impl.HandleCollection
`add, addAll, clear, contains, containsAll, isEmpty, iterator, readLock, remove, removeAll, retainAll, size, toArray, toArray, writeLock`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface java.util.List
`add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray`

Constructor Detail

### HandleList

    public HandleList(KnowledgeBase<E> kb,
                      List<Handle<E>> handleCollection)

Method Detail

### add

    public void add(int index,
                    E element)

  Specified by:
    `add` in interface `List<E>`

### addAll

    public boolean addAll(int index,
                          Collection<? extends E> c)

  Specified by:
    `addAll` in interface `List<E>`

### get

    public E get(int index)

  Specified by:
    `get` in interface `List<E>`

### indexOf

    public int indexOf(Object o)

  Specified by:
    `indexOf` in interface `List<E>`

### lastIndexOf

    public int lastIndexOf(Object o)

  Specified by:
    `lastIndexOf` in interface `List<E>`

### listIterator

    public ListIterator<E> listIterator()

  Specified by:
    `listIterator` in interface `List<E>`

### listIterator

    public ListIterator<E> listIterator(int index)

  Specified by:
    `listIterator` in interface `List<E>`

### remove

    public E remove(int index)

  Specified by:
    `remove` in interface `List<E>`

### set

    public E set(int index,
                 E element)

  Specified by:
    `set` in interface `List<E>`

### subList

    public List<E> subList(int fromIndex,
                           int toIndex)

  Specified by:
    `subList` in interface `List<E>`

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD