Package com.vividsolutions.jump.util
Class ListWrapper<E>
- java.lang.Object
-
- com.vividsolutions.jump.util.CollectionWrapper<E>
-
- com.vividsolutions.jump.util.ListWrapper<E>
-
- All Implemented Interfaces:
Iterable<E>,Collection<E>,List<E>
- Direct Known Subclasses:
LazyList
public abstract class ListWrapper<E> extends CollectionWrapper<E> implements List<E>
-
-
Constructor Summary
Constructors Constructor Description ListWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, E element)booleanaddAll(int index, Collection<? extends E> c)Eget(int index)List<E>getList()intindexOf(Object o)intlastIndexOf(Object o)ListIterator<E>listIterator()ListIterator<E>listIterator(int index)Eremove(int index)Eset(int index, E element)List<E>subList(int fromIndex, int toIndex)-
Methods inherited from class com.vividsolutions.jump.util.CollectionWrapper
add, addAll, clear, contains, containsAll, getCollection, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
-
-
-
Method Detail
-
lastIndexOf
public int lastIndexOf(Object o)
- Specified by:
lastIndexOfin interfaceList<E>
-
addAll
public boolean addAll(int index, Collection<? extends E> c)
-
listIterator
public ListIterator<E> listIterator()
- Specified by:
listIteratorin interfaceList<E>
-
listIterator
public ListIterator<E> listIterator(int index)
- Specified by:
listIteratorin interfaceList<E>
-
-