Package com.globalmentor.collections
Interface SubList<E>
- All Superinterfaces:
Collection<E>
,Iterable<E>
,List<E>
- All Known Implementing Classes:
ArraySubList
Represents a list that is a subset of some larger list.
- Author:
- Garret Wilson
-
Method Summary
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
Method Details
-
getSuperListSize
int getSuperListSize()- Returns:
- The size of the superlist of which this list is a sublist.
-
getStartIndex
int getStartIndex()- Returns:
- The index of the superlist at which this list starts.
-