Package it.unimi.dsi.fastutil.shorts
Class AbstractShortList.ShortRandomAccessSubList
- java.lang.Object
-
- java.util.AbstractCollection<java.lang.Short>
-
- it.unimi.dsi.fastutil.shorts.AbstractShortCollection
-
- it.unimi.dsi.fastutil.shorts.AbstractShortList
-
- it.unimi.dsi.fastutil.shorts.AbstractShortList.ShortSubList
-
- it.unimi.dsi.fastutil.shorts.AbstractShortList.ShortRandomAccessSubList
-
- All Implemented Interfaces:
ShortCollection
,ShortIterable
,ShortList
,ShortStack
,Stack<java.lang.Short>
,java.io.Serializable
,java.lang.Comparable<java.util.List<? extends java.lang.Short>>
,java.lang.Iterable<java.lang.Short>
,java.util.Collection<java.lang.Short>
,java.util.List<java.lang.Short>
,java.util.RandomAccess
- Enclosing class:
- AbstractShortList
public static class AbstractShortList.ShortRandomAccessSubList extends AbstractShortList.ShortSubList implements java.util.RandomAccess
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.shorts.AbstractShortList
AbstractShortList.ShortRandomAccessSubList, AbstractShortList.ShortSubList
-
-
Constructor Summary
Constructors Constructor Description ShortRandomAccessSubList(ShortList l, int from, int to)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShortList
subList(int from, int to)
Returns a type-specific view of the portion of this list from the indexfrom
, inclusive, to the indexto
, exclusive.-
Methods inherited from class it.unimi.dsi.fastutil.shorts.AbstractShortList.ShortSubList
add, add, addAll, addAll, addAll, addElements, getElements, getShort, listIterator, rem, removeElements, removeShort, set, setElements, size, spliterator
-
Methods inherited from class it.unimi.dsi.fastutil.shorts.AbstractShortList
addAll, addAll, addElements, clear, compareTo, contains, equals, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peekShort, popShort, push, size, toArray, topShort, toShortArray, toString
-
Methods inherited from class it.unimi.dsi.fastutil.shorts.AbstractShortCollection
add, contains, containsAll, containsAll, remove, removeAll, removeAll, retainAll, retainAll, toShortArray
-
Methods inherited from interface java.util.List
containsAll, isEmpty, removeAll, retainAll, toArray, toArray
-
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortCollection
containsAll, intIterator, intParallelStream, intSpliterator, intStream, parallelStream, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toShortArray
-
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortIterable
forEach, forEach
-
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortList
add, add, addAll, contains, get, indexOf, lastIndexOf, remove, remove, replaceAll, replaceAll, replaceAll, set, setElements, setElements, sort, sort, unstableSort, unstableSort
-
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortStack
peek, pop, push, top
-
-
-
-
Constructor Detail
-
ShortRandomAccessSubList
public ShortRandomAccessSubList(ShortList l, int from, int to)
-
-
Method Detail
-
subList
public ShortList subList(int from, int to)
Description copied from interface:ShortList
Returns a type-specific view of the portion of this list from the indexfrom
, inclusive, to the indexto
, exclusive.- Specified by:
subList
in interfacejava.util.List<java.lang.Short>
- Specified by:
subList
in interfaceShortList
- Overrides:
subList
in classAbstractShortList.ShortSubList
- See Also:
List.subList(int,int)
-
-