public static class AbstractByteList.ByteRandomAccessSubList extends AbstractByteList.ByteSubList implements java.util.RandomAccess
AbstractByteList.ByteRandomAccessSubList, AbstractByteList.ByteSubList
Constructor and Description |
---|
ByteRandomAccessSubList(ByteList l,
int from,
int to) |
Modifier and Type | Method and Description |
---|---|
ByteList |
subList(int from,
int to)
Returns a type-specific view of the portion of this list from the index
from , inclusive, to the index to , exclusive. |
add, add, addAll, addAll, addAll, addElements, getByte, getElements, listIterator, rem, removeByte, removeElements, set, setElements, size, spliterator
addAll, addAll, addElements, clear, compareTo, contains, equals, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peekByte, popByte, push, size, toArray, toByteArray, topByte, toString
add, contains, containsAll, containsAll, remove, removeAll, removeAll, retainAll, retainAll, toByteArray
add, add, addAll, contains, get, indexOf, lastIndexOf, of, of, of, of, of, remove, remove, replaceAll, replaceAll, replaceAll, set, setElements, setElements, sort, sort, unstableSort, unstableSort
containsAll, isEmpty, removeAll, retainAll, toArray, toArray
containsAll, intIterator, intParallelStream, intSpliterator, intStream, parallelStream, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toByteArray
forEach, forEach
public ByteRandomAccessSubList(ByteList l, int from, int to)
public ByteList subList(int from, int to)
ByteList
from
, inclusive, to the index to
, exclusive.subList
in interface ByteList
subList
in interface java.util.List<java.lang.Byte>
subList
in class AbstractByteList.ByteSubList
List.subList(int,int)