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>
| 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 |
HandleList
public HandleList(KnowledgeBase<E> kb,
List<Handle<E>> handleCollection)
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>