Package it.unimi.dsi.fastutil.objects
Class AbstractObjectBigList.ObjectRandomAccessSubList<K>
- java.lang.Object
-
- java.util.AbstractCollection<K>
-
- it.unimi.dsi.fastutil.objects.AbstractObjectCollection<K>
-
- it.unimi.dsi.fastutil.objects.AbstractObjectBigList<K>
-
- it.unimi.dsi.fastutil.objects.AbstractObjectBigList.ObjectSubList<K>
-
- it.unimi.dsi.fastutil.objects.AbstractObjectBigList.ObjectRandomAccessSubList<K>
-
- All Implemented Interfaces:
BigList<K>
,ObjectBigList<K>
,ObjectCollection<K>
,ObjectIterable<K>
,Size64
,Stack<K>
,java.io.Serializable
,java.lang.Comparable<BigList<? extends K>>
,java.lang.Iterable<K>
,java.util.Collection<K>
,java.util.RandomAccess
- Enclosing class:
- AbstractObjectBigList<K>
public static class AbstractObjectBigList.ObjectRandomAccessSubList<K> extends AbstractObjectBigList.ObjectSubList<K> implements java.util.RandomAccess
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectBigList
AbstractObjectBigList.ObjectRandomAccessSubList<K>, AbstractObjectBigList.ObjectSubList<K>
-
-
Constructor Summary
Constructors Constructor Description ObjectRandomAccessSubList(ObjectBigList<K> l, long from, long to)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectBigList<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.AbstractObjectBigList.ObjectSubList
add, add, addAll, addElements, get, getElements, listIterator, remove, removeElements, set, size64, spliterator
-
Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectBigList
addAll, addElements, clear, compareTo, 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.ObjectBigList
addAll, addAll, addAll, addAll, setElements, setElements
-
-
-
-
Constructor Detail
-
ObjectRandomAccessSubList
public ObjectRandomAccessSubList(ObjectBigList<K> l, long from, long to)
-
-
Method Detail
-
subList
public ObjectBigList<K> subList(long from, long to)
Description copied from interface:ObjectBigList
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 interfaceObjectBigList<K>
- Overrides:
subList
in classAbstractObjectBigList.ObjectSubList<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)
-
-