public abstract class AbstractBooleanList extends AbstractBooleanCollection implements BooleanList
BooleanList interface.ISizeProvider.CollectionSize| Constructor and Description |
|---|
AbstractBooleanList() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(boolean e)
A Type-Specific implementation of add function that delegates to
List.add(int, Object) |
void |
add(int index,
java.lang.Boolean element)
Deprecated.
Please use the corresponding type-specific function instead.
|
boolean |
addAll(BooleanCollection c)
A Type-Specific implementation that iterates over the elements and adds them.
|
boolean |
addAll(BooleanList c)
A Type-Specific implementation that iterates over the elements and adds them.
|
boolean |
addAll(java.util.Collection<? extends java.lang.Boolean> c)
Deprecated.
Please use the corresponding type-specific function instead.
|
AbstractBooleanList |
copy()
A Function that does a shallow clone of the Collection itself.
|
boolean |
equals(java.lang.Object o)
Compares if the list are the same.
|
int |
hashCode()
Generates the hashcode based on the values stored in the list.
|
int |
indexOf(boolean e)
The indexOf implementation iterates over all elements and compares them to the search value.
|
int |
indexOf(java.lang.Object o)
Deprecated.
|
BooleanIterator |
iterator()
Returns a Type-Specific Iterator to reduce (un)boxing
|
int |
lastIndexOf(boolean e)
The lastIndexOf implementation iterates over all elements and compares them to the search value.
|
int |
lastIndexOf(java.lang.Object o)
Deprecated.
|
BooleanListIterator |
listIterator()
A Type-Specific Iterator of listIterator
|
BooleanListIterator |
listIterator(int index)
A Type-Specific Iterator of listIterator
|
void |
size(int size)
A function to ensure the elements are within the requested size.
|
BooleanList |
subList(int fromIndex,
int toIndex)
A Type-Specific List of subList
|
boolean |
swapRemoveBoolean(boolean e)
A Highly Optimized remove function that removes the desired element.
|
add, contains, contains, containsAll, containsAll, containsAny, containsAny, remBoolean, remove, removeAll, removeAll, retainAll, retainAll, toBooleanArray, toBooleanArrayclear, isEmpty, removeAll, retainAll, size, toArray, toArray, toStringadd, add, addAll, addAll, addElements, addElements, addElements, addIfAbsent, addIfPresent, contains, extractElements, forEachIndexed, get, getBoolean, getElements, getElements, remove, remove, removeBoolean, removeElements, set, set, sort, sort, spliterator, swapRemove, synchronize, synchronize, unmodifiable, unstableSort, unstableSortaddAll, addAll, addAll, contains, containsAll, containsAny, containsAny, pour, remBoolean, removeAll, removeAll, retainAll, retainAll, toBooleanArray, toBooleanArrayarrayflatMap, asAsync, count, distinct, filter, findFirst, flatMap, forEach, forEach, forEach, limit, map, matchesAll, matchesAny, matchesNone, peek, pourAsList, reduce, reduce, repeat, sortedof, sizepublic boolean add(boolean e)
List.add(int, Object)add in interface BooleanCollectionadd in interface BooleanListe - the element to addList.add(Object)@Deprecated
public void add(int index,
java.lang.Boolean element)
This default implementation delegates to the corresponding type-specific function.
add in interface java.util.List<java.lang.Boolean>public boolean addAll(BooleanCollection c)
addAll in interface BooleanCollectionaddAll in class AbstractBooleanCollectionc - the elements that wants to be addedpublic boolean addAll(BooleanList c)
addAll in interface BooleanListc - the elements that wants to be added@Deprecated public boolean addAll(java.util.Collection<? extends java.lang.Boolean> c)
This default implementation delegates to the corresponding type-specific function.
This default implementation delegates to the corresponding type-specific function.
addAll in interface java.util.Collection<java.lang.Boolean>addAll in interface java.util.List<java.lang.Boolean>addAll in class AbstractBooleanCollection@Deprecated public int indexOf(java.lang.Object o)
indexOf in interface java.util.List<java.lang.Boolean>indexOf in interface BooleanListo - the value that the index is searched for.@Deprecated public int lastIndexOf(java.lang.Object o)
lastIndexOf in interface java.util.List<java.lang.Boolean>lastIndexOf in interface BooleanListo - the value that the index is searched for.public int indexOf(boolean e)
indexOf in interface BooleanListe - the value that the index is searched for.public int lastIndexOf(boolean e)
lastIndexOf in interface BooleanListe - the value that the index is searched for.public boolean swapRemoveBoolean(boolean e)
BooleanListswapRemoveBoolean in interface BooleanListe - the element that should be removedpublic 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 java.lang.Objectpublic int hashCode()
hashCode in interface java.util.Collection<java.lang.Boolean>hashCode in interface java.util.List<java.lang.Boolean>hashCode in class java.lang.Objectpublic BooleanList subList(int fromIndex, int toIndex)
BooleanListsubList in interface java.util.List<java.lang.Boolean>subList in interface BooleanListList.subList(int, int)public BooleanIterator iterator()
BooleanCollectioniterator in interface java.lang.Iterable<java.lang.Boolean>iterator in interface java.util.Collection<java.lang.Boolean>iterator in interface java.util.List<java.lang.Boolean>iterator in interface BooleanCollectioniterator in interface BooleanIterableiterator in class AbstractBooleanCollectionCollection.iterator()public BooleanListIterator listIterator()
BooleanListlistIterator in interface java.util.List<java.lang.Boolean>listIterator in interface BooleanListList.listIterator()public BooleanListIterator listIterator(int index)
BooleanListlistIterator in interface java.util.List<java.lang.Boolean>listIterator in interface BooleanListList.listIterator(int)public void size(int size)
BooleanListsize in interface BooleanListsize - the requested amount of elements/room for elementspublic AbstractBooleanList copy()
BooleanCollectioncopy in interface BooleanCollectioncopy in interface BooleanListcopy in class AbstractBooleanCollection