public class LongArrayList.SubList extends AbstractLongList.LongRandomAccessSubList
AbstractLongList.LongRandomAccessSubList, AbstractLongList.LongSubListfrom, l, to| Constructor and Description |
|---|
SubList(int from,
int to) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.util.List<? extends java.lang.Long> l)
Compares this list to another object.
|
boolean |
equals(java.lang.Object o) |
long |
getLong(int i)
Returns the element at the specified position in this list.
|
LongListIterator |
listIterator(int index)
Returns a type-specific list iterator on the list starting at a given index.
|
it.unimi.dsi.fastutil.longs.LongSpliterator |
spliterator()
Returns a type-specific spliterator on the elements of this list.
|
subListadd, add, addAll, addAll, addAll, addElements, getElements, rem, removeElements, removeLong, set, setElements, sizeaddAll, addAll, addElements, clear, contains, ensureIndex, ensureRestrictedIndex, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peekLong, popLong, push, replaceAll, size, toArray, toLongArray, topLong, toStringadd, contains, containsAll, containsAll, forEach, remove, removeAll, removeAll, removeIf, retainAll, retainAll, toLongArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, add, addAll, contains, get, indexOf, lastIndexOf, of, of, of, of, of, remove, remove, replaceAll, replaceAll, set, setElements, setElements, sort, sort, unstableSort, unstableSortcontainsAll, isEmpty, removeAll, retainAll, toArray, toArraycontainsAll, longIterator, longParallelStream, longSpliterator, longStream, parallelStream, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toLongArrayforEach, forEachpublic long getLong(int i)
LongListgetLong in interface LongListgetLong in class AbstractLongList.LongSubListList.get(int)public LongListIterator listIterator(int index)
AbstractLongListlistIterator in interface LongListlistIterator in interface java.util.List<java.lang.Long>listIterator in class AbstractLongList.LongSubListList.listIterator(int)public it.unimi.dsi.fastutil.longs.LongSpliterator spliterator()
LongListList 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 LongCollectionspliterator in interface LongIterablespliterator in interface LongListspliterator in interface java.lang.Iterable<java.lang.Long>spliterator in interface java.util.Collection<java.lang.Long>spliterator in interface java.util.List<java.lang.Long>spliterator in class AbstractLongList.LongSubListpublic boolean equals(java.lang.Object o)
equals in interface java.util.Collection<java.lang.Long>equals in interface java.util.List<java.lang.Long>equals in class AbstractLongListpublic int compareTo(java.util.List<? extends java.lang.Long> l)
AbstractLongListList, this method performs a lexicographical comparison; otherwise,
it throws a ClassCastException.compareTo in interface java.lang.Comparable<java.util.List<? extends java.lang.Long>>compareTo in class AbstractLongListl - 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.