Package it.unimi.dsi.fastutil.longs
Class AbstractLongList.LongRandomAccessSubList
- java.lang.Object
-
- java.util.AbstractCollection<java.lang.Long>
-
- it.unimi.dsi.fastutil.longs.AbstractLongCollection
-
- it.unimi.dsi.fastutil.longs.AbstractLongList
-
- it.unimi.dsi.fastutil.longs.AbstractLongList.LongSubList
-
- it.unimi.dsi.fastutil.longs.AbstractLongList.LongRandomAccessSubList
-
- All Implemented Interfaces:
LongCollection,LongIterable,LongList,LongStack,Stack<java.lang.Long>,java.io.Serializable,java.lang.Comparable<java.util.List<? extends java.lang.Long>>,java.lang.Iterable<java.lang.Long>,java.util.Collection<java.lang.Long>,java.util.List<java.lang.Long>,java.util.RandomAccess
- Enclosing class:
- AbstractLongList
public static class AbstractLongList.LongRandomAccessSubList extends AbstractLongList.LongSubList implements java.util.RandomAccess
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.longs.AbstractLongList
AbstractLongList.LongRandomAccessSubList, AbstractLongList.LongSubList
-
-
Constructor Summary
Constructors Constructor Description LongRandomAccessSubList(LongList l, int from, int to)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LongListsubList(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.longs.AbstractLongList.LongSubList
add, add, addAll, addAll, addAll, addElements, getElements, getLong, listIterator, rem, removeElements, removeLong, set, setElements, size, spliterator
-
Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongList
addAll, addAll, addElements, clear, compareTo, contains, equals, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peekLong, popLong, push, replaceAll, size, toArray, toLongArray, topLong, toString
-
Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongCollection
add, contains, containsAll, containsAll, forEach, remove, removeAll, removeAll, removeIf, retainAll, retainAll, toLongArray
-
Methods inherited from interface java.util.List
containsAll, isEmpty, removeAll, retainAll, toArray, toArray
-
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongCollection
containsAll, longIterator, longParallelStream, longSpliterator, longStream, parallelStream, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toLongArray
-
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongIterable
forEach, forEach
-
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongList
add, add, addAll, contains, get, indexOf, lastIndexOf, remove, remove, replaceAll, replaceAll, set, setElements, setElements, sort, sort, unstableSort, unstableSort
-
-
-
-
Constructor Detail
-
LongRandomAccessSubList
public LongRandomAccessSubList(LongList l, int from, int to)
-
-
Method Detail
-
subList
public LongList subList(int from, int to)
Description copied from interface:LongListReturns a type-specific view of the portion of this list from the indexfrom, inclusive, to the indexto, exclusive.- Specified by:
subListin interfacejava.util.List<java.lang.Long>- Specified by:
subListin interfaceLongList- Overrides:
subListin classAbstractLongList.LongSubList- See Also:
List.subList(int,int)
-
-