public class ShortArrayList.SubList extends AbstractShortList.ShortRandomAccessSubList
AbstractShortList.ShortRandomAccessSubList, AbstractShortList.ShortSubListfrom, l, to| Constructor and Description |
|---|
SubList(int from,
int to) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.util.List<? extends java.lang.Short> l)
Compares this list to another object.
|
boolean |
equals(java.lang.Object o) |
short |
getShort(int i)
Returns the element at the specified position in this list.
|
ShortListIterator |
listIterator(int index)
Returns a type-specific list iterator on the list starting at a given index.
|
it.unimi.dsi.fastutil.shorts.ShortSpliterator |
spliterator()
Returns a type-specific spliterator on the elements of this list.
|
subListadd, add, addAll, addAll, addAll, addElements, getElements, rem, removeElements, removeShort, set, setElements, sizeaddAll, addAll, addElements, clear, contains, ensureIndex, ensureRestrictedIndex, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peekShort, popShort, push, size, toArray, topShort, toShortArray, toStringadd, contains, containsAll, containsAll, remove, removeAll, removeAll, retainAll, retainAll, toShortArrayclone, 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, toShortArrayforEach, forEachpeek, pop, push, toppublic short getShort(int i)
ShortListgetShort in interface ShortListgetShort in class AbstractShortList.ShortSubListList.get(int)public ShortListIterator listIterator(int index)
AbstractShortListlistIterator in interface ShortListlistIterator in interface java.util.List<java.lang.Short>listIterator in class AbstractShortList.ShortSubListList.listIterator(int)public it.unimi.dsi.fastutil.shorts.ShortSpliterator spliterator()
ShortListList 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 ShortCollectionspliterator in interface ShortIterablespliterator in interface ShortListspliterator in interface java.lang.Iterable<java.lang.Short>spliterator in interface java.util.Collection<java.lang.Short>spliterator in interface java.util.List<java.lang.Short>spliterator in class AbstractShortList.ShortSubListpublic boolean equals(java.lang.Object o)
equals in interface java.util.Collection<java.lang.Short>equals in interface java.util.List<java.lang.Short>equals in class AbstractShortListpublic int compareTo(java.util.List<? extends java.lang.Short> l)
AbstractShortListList, this method performs a lexicographical comparison; otherwise,
it throws a ClassCastException.compareTo in interface java.lang.Comparable<java.util.List<? extends java.lang.Short>>compareTo in class AbstractShortListl - 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.