Package it.unimi.dsi.fastutil.shorts
Class AbstractShortBigList.ShortRandomAccessSubList
- java.lang.Object
-
- java.util.AbstractCollection<java.lang.Short>
-
- it.unimi.dsi.fastutil.shorts.AbstractShortCollection
-
- it.unimi.dsi.fastutil.shorts.AbstractShortBigList
-
- it.unimi.dsi.fastutil.shorts.AbstractShortBigList.ShortSubList
-
- it.unimi.dsi.fastutil.shorts.AbstractShortBigList.ShortRandomAccessSubList
-
- All Implemented Interfaces:
BigList<java.lang.Short>
,ShortBigList
,ShortCollection
,ShortIterable
,ShortStack
,Size64
,Stack<java.lang.Short>
,java.io.Serializable
,java.lang.Comparable<BigList<? extends java.lang.Short>>
,java.lang.Iterable<java.lang.Short>
,java.util.Collection<java.lang.Short>
,java.util.RandomAccess
- Enclosing class:
- AbstractShortBigList
public static class AbstractShortBigList.ShortRandomAccessSubList extends AbstractShortBigList.ShortSubList implements java.util.RandomAccess
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.shorts.AbstractShortBigList
AbstractShortBigList.ShortRandomAccessSubList, AbstractShortBigList.ShortSubList
-
-
Constructor Summary
Constructors Constructor Description ShortRandomAccessSubList(ShortBigList l, long from, long to)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShortBigList
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.shorts.AbstractShortBigList.ShortSubList
add, add, addAll, addAll, addAll, addElements, getElements, getShort, intSpliterator, listIterator, rem, removeElements, removeShort, set, size64, spliterator
-
Methods inherited from class it.unimi.dsi.fastutil.shorts.AbstractShortBigList
add, addAll, addAll, addElements, clear, compareTo, contains, equals, forEach, get, hashCode, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, peek, peekShort, pop, popShort, push, push, remove, set, setElements, size, size, top, topShort, toString
-
Methods inherited from class it.unimi.dsi.fastutil.shorts.AbstractShortCollection
add, contains, containsAll, containsAll, remove, removeAll, removeAll, retainAll, retainAll, toArray, toShortArray, toShortArray
-
Methods inherited from interface java.util.Collection
containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toArray
-
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortBigList
addAll, addAll, addAll, getElements, setElements, setElements
-
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortCollection
add, contains, containsAll, intIterator, intParallelStream, intStream, parallelStream, remove, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toArray, toShortArray, toShortArray
-
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortIterable
forEach, forEach
-
-
-
-
Constructor Detail
-
ShortRandomAccessSubList
public ShortRandomAccessSubList(ShortBigList l, long from, long to)
-
-
Method Detail
-
subList
public ShortBigList subList(long from, long to)
Description copied from interface:ShortBigList
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<java.lang.Short>
- Specified by:
subList
in interfaceShortBigList
- Overrides:
subList
in classAbstractShortBigList.ShortSubList
- 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)
-
-