public class ObjectArrayList.SubList extends AbstractObjectList.ObjectRandomAccessSubList<K>
AbstractObjectList.ObjectRandomAccessSubList<K>, AbstractObjectList.ObjectSubList<K>from, l, to| Constructor and Description |
|---|
SubList(int from,
int to) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.util.List<? extends K> l)
Compares this list to another object.
|
boolean |
equals(java.lang.Object o) |
K |
get(int i) |
ObjectListIterator<K> |
listIterator(int index)
Returns a type-specific list iterator on the list starting at a given index.
|
it.unimi.dsi.fastutil.objects.ObjectSpliterator<K> |
spliterator()
Returns a type-specific spliterator on the elements of this list.
|
subListadd, add, addAll, addElements, getElements, remove, removeElements, set, setElements, sizeaddAll, addElements, clear, contains, ensureIndex, ensureRestrictedIndex, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peek, pop, push, size, toArray, toArray, top, toStringcontainsAll, isEmpty, remove, removeAll, retainAllclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, addAll, of, of, of, of, of, setElements, setElements, sort, unstableSortpublic K get(int i)
get in interface java.util.List<K>get in class AbstractObjectList.ObjectSubList<K>public ObjectListIterator<K> listIterator(int index)
AbstractObjectListlistIterator in interface ObjectList<K>listIterator in interface java.util.List<K>listIterator in class AbstractObjectList.ObjectSubList<K>List.listIterator(int)public it.unimi.dsi.fastutil.objects.ObjectSpliterator<K> spliterator()
ObjectListList 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 ObjectCollection<K>spliterator in interface ObjectIterable<K>spliterator in interface ObjectList<K>spliterator in interface java.lang.Iterable<K>spliterator in interface java.util.Collection<K>spliterator in interface java.util.List<K>spliterator in class AbstractObjectList.ObjectSubList<K>public boolean equals(java.lang.Object o)
equals in interface java.util.Collection<K>equals in interface java.util.List<K>equals in class AbstractObjectList<K>public int compareTo(java.util.List<? extends K> l)
AbstractObjectListList, this method performs a lexicographical comparison; otherwise,
it throws a ClassCastException.compareTo in interface java.lang.Comparable<java.util.List<? extends K>>compareTo in class AbstractObjectList<K>l - 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.