public class ByteArrayList.SubList extends AbstractByteList.ByteRandomAccessSubList
AbstractByteList.ByteRandomAccessSubList, AbstractByteList.ByteSubListfrom, l, to| Constructor and Description |
|---|
SubList(int from,
int to) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.util.List<? extends java.lang.Byte> l)
Compares this list to another object.
|
boolean |
equals(java.lang.Object o) |
byte |
getByte(int i)
Returns the element at the specified position in this list.
|
ByteListIterator |
listIterator(int index)
Returns a type-specific list iterator on the list starting at a given index.
|
it.unimi.dsi.fastutil.bytes.ByteSpliterator |
spliterator()
Returns a type-specific spliterator on the elements of this list.
|
subListadd, add, addAll, addAll, addAll, addElements, getElements, rem, removeByte, removeElements, set, setElements, sizeaddAll, addAll, addElements, clear, contains, ensureIndex, ensureRestrictedIndex, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peekByte, popByte, push, size, toArray, toByteArray, topByte, toStringadd, contains, containsAll, containsAll, remove, removeAll, removeAll, retainAll, retainAll, toByteArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, add, addAll, contains, get, indexOf, lastIndexOf, of, of, of, of, of, remove, remove, replaceAll, replaceAll, replaceAll, set, setElements, setElements, sort, sort, unstableSort, unstableSortcontainsAll, isEmpty, removeAll, retainAll, toArray, toArraycontainsAll, intIterator, intParallelStream, intSpliterator, intStream, parallelStream, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toByteArrayforEach, forEachpublic byte getByte(int i)
ByteListgetByte in interface ByteListgetByte in class AbstractByteList.ByteSubListList.get(int)public ByteListIterator listIterator(int index)
AbstractByteListlistIterator in interface ByteListlistIterator in interface java.util.List<java.lang.Byte>listIterator in class AbstractByteList.ByteSubListList.listIterator(int)public it.unimi.dsi.fastutil.bytes.ByteSpliterator spliterator()
ByteListList spliterators must report at least Spliterator.SIZED and Spliterator.ORDERED.
See List.spliterator() for more documentation on the requirements
of the returned spliterator.
spliterator in interface ByteCollectionspliterator in interface ByteIterablespliterator in interface ByteListspliterator in interface java.lang.Iterable<java.lang.Byte>spliterator in interface java.util.Collection<java.lang.Byte>spliterator in interface java.util.List<java.lang.Byte>spliterator in class AbstractByteList.ByteSubListpublic boolean equals(java.lang.Object o)
equals in interface java.util.Collection<java.lang.Byte>equals in interface java.util.List<java.lang.Byte>equals in class AbstractByteListpublic int compareTo(java.util.List<? extends java.lang.Byte> l)
AbstractByteListList, this method performs a lexicographical comparison; otherwise,
it throws a ClassCastException.compareTo in interface java.lang.Comparable<java.util.List<? extends java.lang.Byte>>compareTo in class AbstractByteListl - a list.List, a negative integer,
zero, or a positive integer as this list is lexicographically less than, equal
to, or greater than the argument.