Package it.unimi.dsi.fastutil.ints
Class AbstractIntList.IntRandomAccessSubList
- java.lang.Object
-
- java.util.AbstractCollection<java.lang.Integer>
-
- it.unimi.dsi.fastutil.ints.AbstractIntCollection
-
- it.unimi.dsi.fastutil.ints.AbstractIntList
-
- it.unimi.dsi.fastutil.ints.AbstractIntList.IntSubList
-
- it.unimi.dsi.fastutil.ints.AbstractIntList.IntRandomAccessSubList
-
- All Implemented Interfaces:
IntCollection,IntIterable,IntList,IntStack,Stack<java.lang.Integer>,java.io.Serializable,java.lang.Comparable<java.util.List<? extends java.lang.Integer>>,java.lang.Iterable<java.lang.Integer>,java.util.Collection<java.lang.Integer>,java.util.List<java.lang.Integer>,java.util.RandomAccess
- Enclosing class:
- AbstractIntList
public static class AbstractIntList.IntRandomAccessSubList extends AbstractIntList.IntSubList implements java.util.RandomAccess
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.ints.AbstractIntList
AbstractIntList.IntRandomAccessSubList, AbstractIntList.IntSubList
-
-
Constructor Summary
Constructors Constructor Description IntRandomAccessSubList(IntList l, int from, int to)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntListsubList(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.ints.AbstractIntList.IntSubList
add, add, addAll, addAll, addAll, addElements, getElements, getInt, listIterator, rem, removeElements, removeInt, set, setElements, size, spliterator
-
Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntList
addAll, addAll, addElements, clear, compareTo, contains, equals, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peekInt, popInt, push, replaceAll, size, toArray, toIntArray, topInt, toString
-
Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntCollection
add, contains, containsAll, containsAll, forEach, remove, removeAll, removeAll, removeIf, retainAll, retainAll, toIntArray
-
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntCollection
containsAll, intIterator, intParallelStream, intSpliterator, intStream, parallelStream, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toIntArray
-
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntIterable
forEach, forEach
-
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntList
add, add, addAll, contains, get, indexOf, lastIndexOf, remove, remove, replaceAll, replaceAll, set, setElements, setElements, sort, sort, unstableSort, unstableSort
-
-
-
-
Constructor Detail
-
IntRandomAccessSubList
public IntRandomAccessSubList(IntList l, int from, int to)
-
-
Method Detail
-
subList
public IntList subList(int from, int to)
Description copied from interface:IntListReturns a type-specific view of the portion of this list from the indexfrom, inclusive, to the indexto, exclusive.- Specified by:
subListin interfaceIntList- Specified by:
subListin interfacejava.util.List<java.lang.Integer>- Overrides:
subListin classAbstractIntList.IntSubList- See Also:
List.subList(int,int)
-
-