Package com.mchange.v1.util
Class Sublist
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList
com.mchange.v1.util.Sublist
- All Implemented Interfaces:
Iterable,Collection,List
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
Sublist
public Sublist() -
Sublist
- Parameters:
start_index- index of the element of the parent list just before which the Sublist beginsend_index- index of the first element of parent excluded from the Sublist
-
-
Method Details
-
setParent
- Parameters:
start_index- index of the element of the parent list just before which the Sublist beginsend_index- index of the first element of parent excluded from the Sublist
-
get
- Specified by:
getin interfaceList- Specified by:
getin classAbstractList
-
size
public int size()- Specified by:
sizein interfaceCollection- Specified by:
sizein interfaceList- Specified by:
sizein classAbstractCollection
-
set
- Specified by:
setin interfaceList- Overrides:
setin classAbstractList
-
add
- Specified by:
addin interfaceList- Overrides:
addin classAbstractList
-
remove
- Specified by:
removein interfaceList- Overrides:
removein classAbstractList
-