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