Package it.unimi.dsi.fastutil.objects
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:
it.unimi.dsi.fastutil.objects.ObjectIterable<K>,ReferenceCollection<K>,ReferenceList<K>,it.unimi.dsi.fastutil.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> -
Field Summary
Fields inherited from class it.unimi.dsi.fastutil.objects.AbstractReferenceList.ReferenceSubList
from, l, to -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanget(int i) it.unimi.dsi.fastutil.objects.ObjectListIterator<K> listIterator(int index) Returns a type-specific list iterator on the list starting at a given index.it.unimi.dsi.fastutil.objects.ObjectSpliterator<K> Returns a type-specific spliterator on the elements of this list.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, ensureIndex, ensureRestrictedIndex, 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
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, unstableSortMethods inherited from interface it.unimi.dsi.fastutil.Stack
isEmpty
-
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:ReferenceListReturns a type-specific spliterator on the elements of this list.List spliterators must report at least
Spliterator.SIZEDandSpliterator.ORDERED.See
List.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 interfaceit.unimi.dsi.fastutil.objects.ObjectIterable<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>
-