Class ReferenceArrayList.SubList
java.lang.Object
java.util.AbstractCollection<K>
it.unimi.dsi.fastutil.objects.AbstractReferenceCollection<K>
it.unimi.dsi.fastutil.objects.AbstractReferenceList<K>
it.unimi.dsi.fastutil.objects.AbstractReferenceList.ReferenceSubList<K>
it.unimi.dsi.fastutil.objects.AbstractReferenceList.ReferenceRandomAccessSubList<K>
it.unimi.dsi.fastutil.objects.ReferenceArrayList.SubList
- All Implemented Interfaces:
ObjectIterable<K>,ReferenceCollection<K>,ReferenceList<K>,Stack<K>,Serializable,Iterable<K>,Collection<K>,List<K>,RandomAccess,SequencedCollection<K>
- Enclosing class:
ReferenceArrayList<K>
public class ReferenceArrayList.SubList
extends AbstractReferenceList.ReferenceRandomAccessSubList<K>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.objects.AbstractReferenceList
AbstractReferenceList.ReferenceRandomAccessSubList<K>, AbstractReferenceList.ReferenceSubList<K> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanget(int i) listIterator(int index) Returns a type-specific list iterator on the list starting at a given index.Returns a type-specific spliterator on the elements of this collection.Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractReferenceList.ReferenceRandomAccessSubList
subListMethods inherited from class it.unimi.dsi.fastutil.objects.AbstractReferenceList.ReferenceSubList
add, add, addAll, addElements, getElements, remove, removeElements, set, setElements, sizeMethods inherited from class it.unimi.dsi.fastutil.objects.AbstractReferenceList
addAll, addElements, clear, contains, 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 interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addFirst, addLast, containsAll, getFirst, getLast, isEmpty, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversedMethods inherited from interface it.unimi.dsi.fastutil.objects.ReferenceList
addAll, addAll, setElements, setElements, sort, unstableSort
-
Constructor Details
-
SubList
public SubList(int from, int to)
-
-
Method Details
-
get
-
listIterator
Description copied from class:AbstractReferenceListReturns a type-specific list iterator on the list starting at a given index.- Specified by:
listIteratorin interfaceList<K>- Specified by:
listIteratorin interfaceReferenceList<K>- Overrides:
listIteratorin classAbstractReferenceList.ReferenceSubList<K>- See Also:
-
spliterator
Description copied from interface:ReferenceCollectionReturns a type-specific spliterator on the elements of this collection.See
Collection.spliterator()for more documentation on the requirements of the returned spliterator.- Specified by:
spliteratorin interfaceCollection<K>- Specified by:
spliteratorin interfaceIterable<K>- Specified by:
spliteratorin interfaceList<K>- Specified by:
spliteratorin interfaceObjectIterable<K>- Specified by:
spliteratorin interfaceReferenceCollection<K>- Specified by:
spliteratorin interfaceReferenceList<K>- Overrides:
spliteratorin classAbstractReferenceList.ReferenceSubList<K>- Returns:
- a type-specific spliterator on the elements of this collection.
-
equals
- Specified by:
equalsin interfaceCollection<K>- Specified by:
equalsin interfaceList<K>- Overrides:
equalsin classAbstractReferenceList<K>
-