public class IntArrayList.SubList extends AbstractIntList.IntRandomAccessSubList
AbstractIntList.IntRandomAccessSubList, AbstractIntList.IntSubListfrom, l, to| Constructor and Description |
|---|
SubList(int from,
int to) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.util.List<? extends java.lang.Integer> l)
Compares this list to another object.
|
boolean |
equals(java.lang.Object o) |
int |
getInt(int i)
Returns the element at the specified position in this list.
|
IntListIterator |
listIterator(int index)
Returns a type-specific list iterator on the list starting at a given index.
|
it.unimi.dsi.fastutil.ints.IntSpliterator |
spliterator()
Returns a type-specific spliterator on the elements of this list.
|
subListadd, add, addAll, addAll, addAll, addElements, getElements, rem, removeElements, removeInt, set, setElements, sizeaddAll, addAll, addElements, clear, contains, ensureIndex, ensureRestrictedIndex, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peekInt, popInt, push, replaceAll, size, toArray, toIntArray, topInt, toStringadd, contains, containsAll, containsAll, forEach, remove, removeAll, removeAll, removeIf, retainAll, retainAll, toIntArrayclone, 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, intIterator, intParallelStream, intSpliterator, intStream, parallelStream, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toIntArrayforEach, forEachpublic int getInt(int i)
IntListgetInt in interface IntListgetInt in class AbstractIntList.IntSubListList.get(int)public IntListIterator listIterator(int index)
AbstractIntListlistIterator in interface IntListlistIterator in interface java.util.List<java.lang.Integer>listIterator in class AbstractIntList.IntSubListList.listIterator(int)public it.unimi.dsi.fastutil.ints.IntSpliterator spliterator()
IntListList 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 IntCollectionspliterator in interface IntIterablespliterator in interface IntListspliterator in interface java.lang.Iterable<java.lang.Integer>spliterator in interface java.util.Collection<java.lang.Integer>spliterator in interface java.util.List<java.lang.Integer>spliterator in class AbstractIntList.IntSubListpublic boolean equals(java.lang.Object o)
equals in interface java.util.Collection<java.lang.Integer>equals in interface java.util.List<java.lang.Integer>equals in class AbstractIntListpublic int compareTo(java.util.List<? extends java.lang.Integer> l)
AbstractIntListList, this method performs a lexicographical comparison; otherwise,
it throws a ClassCastException.compareTo in interface java.lang.Comparable<java.util.List<? extends java.lang.Integer>>compareTo in class AbstractIntListl - 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.