Package it.unimi.dsi.fastutil.objects
Class AbstractReferenceList.ReferenceRandomAccessSubList<K>
- 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>
-
- All Implemented Interfaces:
ObjectIterable<K>
,ReferenceCollection<K>
,ReferenceList<K>
,Stack<K>
,java.io.Serializable
,java.lang.Iterable<K>
,java.util.Collection<K>
,java.util.List<K>
,java.util.RandomAccess
- Enclosing class:
- AbstractReferenceList<K>
public static class AbstractReferenceList.ReferenceRandomAccessSubList<K> extends AbstractReferenceList.ReferenceSubList<K> implements java.util.RandomAccess
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.objects.AbstractReferenceList
AbstractReferenceList.ReferenceRandomAccessSubList<K>, AbstractReferenceList.ReferenceSubList<K>
-
-
Constructor Summary
Constructors Constructor Description ReferenceRandomAccessSubList(ReferenceList<K> l, int from, int to)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferenceList<K>
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.objects.AbstractReferenceList.ReferenceSubList
add, add, addAll, addElements, get, getElements, listIterator, remove, removeElements, set, setElements, size, spliterator
-
Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractReferenceList
addAll, addElements, clear, contains, equals, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peek, pop, push, size, toArray, toArray, top, toString
-
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, remove, removeAll, retainAll
-
Methods inherited from interface java.util.List
containsAll, isEmpty, remove, removeAll, replaceAll, retainAll
-
Methods inherited from interface it.unimi.dsi.fastutil.objects.ReferenceList
addAll, addAll, setElements, setElements, sort, unstableSort
-
-
-
-
Constructor Detail
-
ReferenceRandomAccessSubList
public ReferenceRandomAccessSubList(ReferenceList<K> l, int from, int to)
-
-
Method Detail
-
subList
public ReferenceList<K> subList(int from, int to)
Description copied from interface:ReferenceList
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<K>
- Specified by:
subList
in interfaceReferenceList<K>
- Overrides:
subList
in classAbstractReferenceList.ReferenceSubList<K>
- See Also:
List.subList(int,int)
-
-