Class BooleanArrayList.SubList
java.lang.Object
java.util.AbstractCollection<Boolean>
it.unimi.dsi.fastutil.booleans.AbstractBooleanCollection
it.unimi.dsi.fastutil.booleans.AbstractBooleanList
it.unimi.dsi.fastutil.booleans.AbstractBooleanList.BooleanSubList
it.unimi.dsi.fastutil.booleans.AbstractBooleanList.BooleanRandomAccessSubList
it.unimi.dsi.fastutil.booleans.BooleanArrayList.SubList
- All Implemented Interfaces:
BooleanCollection,BooleanIterable,BooleanList,BooleanStack,Stack<Boolean>,Serializable,Comparable<List<? extends Boolean>>,Iterable<Boolean>,Collection<Boolean>,List<Boolean>,RandomAccess,SequencedCollection<Boolean>
- Enclosing class:
BooleanArrayList
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.booleans.AbstractBooleanList
AbstractBooleanList.BooleanRandomAccessSubList, AbstractBooleanList.BooleanSubList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintCompares this list to another object.booleanbooleangetBoolean(int i) Returns the element at the specified position in this list.listIterator(int index) Returns a type-specific list iterator on the list starting at a given index.Returns a type-specific spliterator on the elements of this collection.Methods inherited from class it.unimi.dsi.fastutil.booleans.AbstractBooleanList.BooleanRandomAccessSubList
subListMethods inherited from class it.unimi.dsi.fastutil.booleans.AbstractBooleanList.BooleanSubList
add, add, addAll, addAll, addAll, addElements, getElements, rem, removeBoolean, removeElements, set, setElements, sizeMethods inherited from class it.unimi.dsi.fastutil.booleans.AbstractBooleanList
addAll, addAll, addElements, clear, contains, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peekBoolean, popBoolean, push, size, toArray, toBooleanArray, topBoolean, toStringMethods inherited from class it.unimi.dsi.fastutil.booleans.AbstractBooleanCollection
add, contains, containsAll, containsAll, remove, removeAll, removeAll, retainAll, retainAll, toBooleanArrayMethods inherited from class java.util.AbstractCollection
isEmpty, toArray, toArrayMethods inherited from interface it.unimi.dsi.fastutil.booleans.BooleanCollection
containsAll, removeAll, removeIf, removeIf, retainAll, toBooleanArrayMethods inherited from interface it.unimi.dsi.fastutil.booleans.BooleanIterable
forEachMethods inherited from interface it.unimi.dsi.fastutil.booleans.BooleanList
add, add, addAll, contains, get, indexOf, lastIndexOf, remove, remove, replaceAll, replaceAll, set, setElements, setElements, sort, sort, unstableSort, unstableSortMethods inherited from interface it.unimi.dsi.fastutil.booleans.BooleanStack
peek, pop, push, topMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
addFirst, addLast, containsAll, getFirst, getLast, isEmpty, removeAll, removeFirst, removeLast, retainAll, reversed, toArray, toArray
-
Constructor Details
-
SubList
public SubList(int from, int to)
-
-
Method Details
-
getBoolean
public boolean getBoolean(int i) Description copied from interface:BooleanListReturns the element at the specified position in this list.- Specified by:
getBooleanin interfaceBooleanList- Overrides:
getBooleanin classAbstractBooleanList.BooleanSubList- See Also:
-
listIterator
Description copied from class:AbstractBooleanListReturns a type-specific list iterator on the list starting at a given index.- Specified by:
listIteratorin interfaceBooleanList- Specified by:
listIteratorin interfaceList<Boolean>- Overrides:
listIteratorin classAbstractBooleanList.BooleanSubList- See Also:
-
spliterator
Description copied from interface:BooleanCollectionReturns a type-specific spliterator on the elements of this collection.See
Collection.spliterator()for more documentation on the requirements of the returned spliterator.- Specified by:
spliteratorin interfaceBooleanCollection- Specified by:
spliteratorin interfaceBooleanIterable- Specified by:
spliteratorin interfaceBooleanList- Specified by:
spliteratorin interfaceCollection<Boolean>- Specified by:
spliteratorin interfaceIterable<Boolean>- Specified by:
spliteratorin interfaceList<Boolean>- Overrides:
spliteratorin classAbstractBooleanList.BooleanSubList- Returns:
- a type-specific spliterator on the elements of this collection.
-
equals
- Specified by:
equalsin interfaceCollection<Boolean>- Specified by:
equalsin interfaceList<Boolean>- Overrides:
equalsin classAbstractBooleanList
-
compareTo
Description copied from class:AbstractBooleanListCompares this list to another object. If the argument is aList, this method performs a lexicographical comparison; otherwise, it throws aClassCastException.- Specified by:
compareToin interfaceComparable<List<? extends Boolean>>- Overrides:
compareToin classAbstractBooleanList- Parameters:
l- a list.- Returns:
- if the argument is a
List, a negative integer, zero, or a positive integer as this list is lexicographically less than, equal to, or greater than the argument.
-