Package org.svetovid.util
Class CompoundList<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
org.svetovid.util.CompoundList<E>
- All Implemented Interfaces:
Iterable<E>,Collection<E>,List<E>
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintaddSublist(List<E> list) get(int index) getSublist(int index) intinsertSublist(int index, List<E> list) removeSublist(int index) voidsetSublist(int index, List<E> list) intsize()Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, 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
-
Constructor Details
-
CompoundList
public CompoundList() -
CompoundList
-
-
Method Details
-
getSublist
-
setSublist
-
addSublist
-
insertSublist
-
removeSublist
-
size
public int size()- Specified by:
sizein interfaceCollection<E>- Specified by:
sizein interfaceList<E>- Specified by:
sizein classAbstractCollection<E>
-
get
-
toArray
- Specified by:
toArrayin interfaceCollection<E>- Specified by:
toArrayin interfaceList<E>- Overrides:
toArrayin classAbstractCollection<E>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceCollection<E>- Specified by:
toArrayin interfaceList<E>- Overrides:
toArrayin classAbstractCollection<E>
-