Package it.unimi.dsi.fastutil.objects
Class AbstractObjectList.ObjectRandomAccessSubList<K>
java.lang.Object
java.util.AbstractCollection<K>
it.unimi.dsi.fastutil.objects.AbstractObjectCollection<K>
it.unimi.dsi.fastutil.objects.AbstractObjectList<K>
it.unimi.dsi.fastutil.objects.AbstractObjectList.ObjectSubList<K>
it.unimi.dsi.fastutil.objects.AbstractObjectList.ObjectRandomAccessSubList<K>
- All Implemented Interfaces:
ObjectCollection<K>,ObjectIterable<K>,ObjectList<K>,Stack<K>,java.io.Serializable,java.lang.Comparable<java.util.List<? extends K>>,java.lang.Iterable<K>,java.util.Collection<K>,java.util.List<K>,java.util.RandomAccess
- Enclosing class:
- AbstractObjectList<K>
public static class AbstractObjectList.ObjectRandomAccessSubList<K> extends AbstractObjectList.ObjectSubList<K> implements java.util.RandomAccess
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectList
AbstractObjectList.ObjectRandomAccessSubList<K>, AbstractObjectList.ObjectSubList<K> -
Constructor Summary
Constructors Constructor Description ObjectRandomAccessSubList(ObjectList<K> l, int from, int to) -
Method Summary
Modifier and Type Method Description ObjectList<K>subList(int from, int to)Returns a type-specific view of the portion of this list from the indexfrom, inclusive, to the indexto, exclusive.Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectList.ObjectSubList
add, add, addAll, addElements, get, getElements, listIterator, remove, removeElements, set, setElements, size, spliteratorMethods inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectList
addAll, addElements, clear, compareTo, contains, equals, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peek, pop, push, size, toArray, toArray, top, toStringMethods inherited from class java.util.AbstractCollection
containsAll, isEmpty, remove, removeAll, retainAllMethods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
containsAll, isEmpty, remove, removeAll, replaceAll, retainAllMethods inherited from interface it.unimi.dsi.fastutil.objects.ObjectList
addAll, addAll, setElements, setElements, sort, unstableSort
-
Constructor Details
-
ObjectRandomAccessSubList
-
-
Method Details
-
subList
Description copied from interface:ObjectListReturns a type-specific view of the portion of this list from the indexfrom, inclusive, to the indexto, exclusive.- Specified by:
subListin interfacejava.util.List<K>- Specified by:
subListin interfaceObjectList<K>- Overrides:
subListin classAbstractObjectList.ObjectSubList<K>- See Also:
List.subList(int,int)
-