Package it.unimi.dsi.fastutil.objects
Class AbstractReferenceBigList.ReferenceRandomAccessSubList<K>
- java.lang.Object
-
- java.util.AbstractCollection<K>
-
- it.unimi.dsi.fastutil.objects.AbstractReferenceCollection<K>
-
- it.unimi.dsi.fastutil.objects.AbstractReferenceBigList<K>
-
- it.unimi.dsi.fastutil.objects.AbstractReferenceBigList.ReferenceSubList<K>
-
- it.unimi.dsi.fastutil.objects.AbstractReferenceBigList.ReferenceRandomAccessSubList<K>
-
- All Implemented Interfaces:
BigList<K>
,ObjectIterable<K>
,ReferenceBigList<K>
,ReferenceCollection<K>
,Size64
,Stack<K>
,java.io.Serializable
,java.lang.Iterable<K>
,java.util.Collection<K>
,java.util.RandomAccess
- Enclosing class:
- AbstractReferenceBigList<K>
public static class AbstractReferenceBigList.ReferenceRandomAccessSubList<K> extends AbstractReferenceBigList.ReferenceSubList<K> implements java.util.RandomAccess
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.objects.AbstractReferenceBigList
AbstractReferenceBigList.ReferenceRandomAccessSubList<K>, AbstractReferenceBigList.ReferenceSubList<K>
-
-
Constructor Summary
Constructors Constructor Description ReferenceRandomAccessSubList(ReferenceBigList<K> l, long from, long to)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferenceBigList<K>
subList(long from, long to)
Returns a type-specific view of the portion of this type-specific big list from the indexfrom
, inclusive, to the indexto
, exclusive.-
Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractReferenceBigList.ReferenceSubList
add, add, addAll, addElements, get, getElements, listIterator, remove, removeElements, set, size64, spliterator
-
Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractReferenceBigList
addAll, addElements, clear, contains, equals, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peek, pop, push, setElements, size, size, top, toString
-
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
-
Methods inherited from interface java.util.Collection
containsAll, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, stream, toArray, toArray, toArray
-
Methods inherited from interface it.unimi.dsi.fastutil.objects.ReferenceBigList
addAll, addAll, addAll, addAll, getElements, setElements, setElements
-
-
-
-
Constructor Detail
-
ReferenceRandomAccessSubList
public ReferenceRandomAccessSubList(ReferenceBigList<K> l, long from, long to)
-
-
Method Detail
-
subList
public ReferenceBigList<K> subList(long from, long to)
Description copied from interface:ReferenceBigList
Returns a type-specific view of the portion of this type-specific big list from the indexfrom
, inclusive, to the indexto
, exclusive.- Specified by:
subList
in interfaceBigList<K>
- Specified by:
subList
in interfaceReferenceBigList<K>
- Overrides:
subList
in classAbstractReferenceBigList.ReferenceSubList<K>
- Parameters:
from
- the starting element (inclusive).to
- the ending element (exclusive).- Returns:
- a big sublist view of this big list.
- See Also:
BigList.subList(long,long)
-
-