Package it.unimi.dsi.fastutil.bytes
Class AbstractByteList.ByteRandomAccessSubList
- java.lang.Object
-
- java.util.AbstractCollection<java.lang.Byte>
-
- it.unimi.dsi.fastutil.bytes.AbstractByteCollection
-
- it.unimi.dsi.fastutil.bytes.AbstractByteList
-
- it.unimi.dsi.fastutil.bytes.AbstractByteList.ByteSubList
-
- it.unimi.dsi.fastutil.bytes.AbstractByteList.ByteRandomAccessSubList
-
- All Implemented Interfaces:
ByteCollection
,ByteIterable
,ByteList
,ByteStack
,Stack<java.lang.Byte>
,java.io.Serializable
,java.lang.Comparable<java.util.List<? extends java.lang.Byte>>
,java.lang.Iterable<java.lang.Byte>
,java.util.Collection<java.lang.Byte>
,java.util.List<java.lang.Byte>
,java.util.RandomAccess
- Enclosing class:
- AbstractByteList
public static class AbstractByteList.ByteRandomAccessSubList extends AbstractByteList.ByteSubList implements java.util.RandomAccess
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.bytes.AbstractByteList
AbstractByteList.ByteRandomAccessSubList, AbstractByteList.ByteSubList
-
-
Constructor Summary
Constructors Constructor Description ByteRandomAccessSubList(ByteList l, int from, int to)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteList
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.bytes.AbstractByteList.ByteSubList
add, add, addAll, addAll, addAll, addElements, getByte, getElements, listIterator, rem, removeByte, removeElements, set, setElements, size, spliterator
-
Methods inherited from class it.unimi.dsi.fastutil.bytes.AbstractByteList
addAll, addAll, addElements, clear, compareTo, contains, equals, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peekByte, popByte, push, size, toArray, toByteArray, topByte, toString
-
Methods inherited from class it.unimi.dsi.fastutil.bytes.AbstractByteCollection
add, contains, containsAll, containsAll, remove, removeAll, removeAll, retainAll, retainAll, toByteArray
-
Methods inherited from interface it.unimi.dsi.fastutil.bytes.ByteCollection
containsAll, intIterator, intParallelStream, intSpliterator, intStream, parallelStream, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toByteArray
-
Methods inherited from interface it.unimi.dsi.fastutil.bytes.ByteIterable
forEach, forEach
-
Methods inherited from interface it.unimi.dsi.fastutil.bytes.ByteList
add, add, addAll, contains, get, indexOf, lastIndexOf, remove, remove, replaceAll, replaceAll, replaceAll, set, setElements, setElements, sort, sort, unstableSort, unstableSort
-
-
-
-
Constructor Detail
-
ByteRandomAccessSubList
public ByteRandomAccessSubList(ByteList l, int from, int to)
-
-
Method Detail
-
subList
public ByteList subList(int from, int to)
Description copied from interface:ByteList
Returns a type-specific view of the portion of this list from the indexfrom
, inclusive, to the indexto
, exclusive.- Specified by:
subList
in interfaceByteList
- Specified by:
subList
in interfacejava.util.List<java.lang.Byte>
- Overrides:
subList
in classAbstractByteList.ByteSubList
- See Also:
List.subList(int,int)
-
-