public class BooleanArrayList.SubList extends AbstractBooleanList.BooleanRandomAccessSubList
AbstractBooleanList.BooleanRandomAccessSubList, AbstractBooleanList.BooleanSubListfrom, l, to| Constructor and Description |
|---|
SubList(int from,
int to) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.util.List<? extends java.lang.Boolean> l)
Compares this list to another object.
|
boolean |
equals(java.lang.Object o) |
boolean |
getBoolean(int i)
Returns the element at the specified position in this list.
|
BooleanListIterator |
listIterator(int index)
Returns a type-specific list iterator on the list starting at a given index.
|
it.unimi.dsi.fastutil.booleans.BooleanSpliterator |
spliterator()
Returns a type-specific spliterator on the elements of this list.
|
subListadd, add, addAll, addAll, addAll, addElements, getElements, rem, removeBoolean, removeElements, set, setElements, sizeaddAll, addAll, addElements, clear, contains, ensureIndex, ensureRestrictedIndex, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peekBoolean, popBoolean, push, size, toArray, toBooleanArray, topBoolean, toStringadd, contains, containsAll, containsAll, remove, removeAll, removeAll, retainAll, retainAll, toBooleanArrayclone, 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, removeAll, removeIf, removeIf, retainAll, toBooleanArrayforEachpeek, pop, push, toppublic boolean getBoolean(int i)
BooleanListgetBoolean in interface BooleanListgetBoolean in class AbstractBooleanList.BooleanSubListList.get(int)public BooleanListIterator listIterator(int index)
AbstractBooleanListlistIterator in interface BooleanListlistIterator in interface java.util.List<java.lang.Boolean>listIterator in class AbstractBooleanList.BooleanSubListList.listIterator(int)public it.unimi.dsi.fastutil.booleans.BooleanSpliterator spliterator()
BooleanListList 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 BooleanCollectionspliterator in interface BooleanIterablespliterator in interface BooleanListspliterator in interface java.lang.Iterable<java.lang.Boolean>spliterator in interface java.util.Collection<java.lang.Boolean>spliterator in interface java.util.List<java.lang.Boolean>spliterator in class AbstractBooleanList.BooleanSubListpublic boolean equals(java.lang.Object o)
equals in interface java.util.Collection<java.lang.Boolean>equals in interface java.util.List<java.lang.Boolean>equals in class AbstractBooleanListpublic int compareTo(java.util.List<? extends java.lang.Boolean> l)
AbstractBooleanListList, this method performs a lexicographical comparison; otherwise,
it throws a ClassCastException.compareTo in interface java.lang.Comparable<java.util.List<? extends java.lang.Boolean>>compareTo in class AbstractBooleanListl - 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.