public abstract class AbstractBooleanCollection extends java.util.AbstractCollection<java.lang.Boolean> implements BooleanCollection
ISizeProvider.CollectionSize| Constructor and Description |
|---|
AbstractBooleanCollection() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(java.lang.Boolean e)
Deprecated.
Please use the corresponding type-specific function instead.
|
boolean |
addAll(BooleanCollection c)
A Type-Specific addAll function to reduce (un)boxing
|
boolean |
addAll(java.util.Collection<? extends java.lang.Boolean> c)
Deprecated.
Please use the corresponding type-specific function instead.
|
boolean |
contains(boolean e)
A Type-Specific implementation of contains.
|
boolean |
contains(java.lang.Object e)
Deprecated.
Please use the corresponding type-specific function instead.
|
boolean |
containsAll(BooleanCollection c)
A Type-Specific implementation of containsAll.
|
boolean |
containsAll(java.util.Collection<?> c) |
boolean |
containsAny(BooleanCollection c)
This implementation iterates over the elements of the collection and checks if they are stored in this collection.
|
boolean |
containsAny(java.util.Collection<?> c)
Deprecated.
|
BooleanCollection |
copy()
A Function that does a shallow clone of the Collection itself.
|
abstract BooleanIterator |
iterator()
Returns a Type-Specific Iterator to reduce (un)boxing
|
boolean |
remBoolean(boolean e)
A Type-Specific implementation of remove.
|
boolean |
remove(java.lang.Object e)
Deprecated.
Please use the corresponding type-specific function instead.
|
boolean |
removeAll(BooleanCollection c)
A Type-Specific implementation of removeAll.
|
boolean |
removeAll(BooleanCollection c,
BooleanConsumer r)
A Type-Specific removeAll function that reduces (un)boxing.
|
boolean |
retainAll(BooleanCollection c)
A Type-Specific implementation of retainAll.
|
boolean |
retainAll(BooleanCollection c,
BooleanConsumer r)
A Type-Specific retainAll function that reduces (un)boxing.
|
boolean[] |
toBooleanArray()
A Type-Specific implementation of toArray that links to
toBooleanArray(boolean[]) with a newly created array. |
boolean[] |
toBooleanArray(boolean[] a)
A Type-Specific implementation of toArray.
|
clear, isEmpty, removeAll, retainAll, size, toArray, toArray, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, addAll, addAll, addAll, pour, spliterator, synchronize, synchronize, unmodifiableclear, equals, hashCode, isEmpty, parallelStream, removeAll, removeIf, retainAll, size, stream, toArray, toArrayarrayflatMap, asAsync, count, distinct, filter, findFirst, flatMap, forEach, forEach, forEach, forEachIndexed, limit, map, matchesAll, matchesAny, matchesNone, peek, pourAsList, reduce, reduce, repeat, sortedof, sizepublic abstract BooleanIterator iterator()
BooleanCollectioniterator in interface java.lang.Iterable<java.lang.Boolean>iterator in interface java.util.Collection<java.lang.Boolean>iterator in interface BooleanCollectioniterator in interface BooleanIterableiterator in class java.util.AbstractCollection<java.lang.Boolean>Collection.iterator()@Deprecated public boolean add(java.lang.Boolean e)
This default implementation delegates to the corresponding type-specific function.
This default implementation delegates to the corresponding type-specific function.
add in interface java.util.Collection<java.lang.Boolean>add in interface BooleanCollectionadd in class java.util.AbstractCollection<java.lang.Boolean>public boolean addAll(BooleanCollection c)
BooleanCollectionaddAll in interface BooleanCollectionc - the collection of elements that should be addedpublic BooleanCollection copy()
BooleanCollectioncopy in interface BooleanCollection@Deprecated public boolean contains(java.lang.Object e)
This default implementation delegates to the corresponding type-specific function.
This default implementation delegates to the corresponding type-specific function.
contains in interface java.util.Collection<java.lang.Boolean>contains in interface BooleanCollectioncontains in class java.util.AbstractCollection<java.lang.Boolean>public boolean contains(boolean e)
contains in interface BooleanCollectione - the element that should be searched for.@Deprecated public boolean addAll(java.util.Collection<? extends java.lang.Boolean> c)
This default implementation delegates to the corresponding type-specific function.
addAll in interface java.util.Collection<java.lang.Boolean>addAll in class java.util.AbstractCollection<java.lang.Boolean>public boolean containsAll(BooleanCollection c)
containsAll in interface BooleanCollectionc - the collection that should be checked if it contains all elements.java.lang.NullPointerException - if the collection is nullpublic boolean containsAll(java.util.Collection<?> c)
containsAll in interface java.util.Collection<java.lang.Boolean>containsAll in class java.util.AbstractCollection<java.lang.Boolean>@Deprecated public boolean containsAny(java.util.Collection<?> c)
containsAny in interface BooleanCollectionc - the elements that should be checked forjava.lang.NullPointerException - if the collection is nullpublic boolean containsAny(BooleanCollection c)
containsAny in interface BooleanCollectionc - the elements that should be checked forjava.lang.NullPointerException - if the collection is null@Deprecated public boolean remove(java.lang.Object e)
This default implementation delegates to the corresponding type-specific function.
This default implementation delegates to the corresponding type-specific function.
remove in interface java.util.Collection<java.lang.Boolean>remove in interface BooleanCollectionremove in class java.util.AbstractCollection<java.lang.Boolean>public boolean remBoolean(boolean e)
remBoolean in interface BooleanCollectione - the element that is searched forCollection.remove(Object)public boolean removeAll(BooleanCollection c)
removeAll in interface BooleanCollectionc - the elements that should be deletedjava.lang.NullPointerException - if the collection is nullCollection.removeAll(Collection)public boolean removeAll(BooleanCollection c, BooleanConsumer r)
BooleanCollectionremoveAll in interface BooleanCollectionc - the collection of elements that should be removedr - elements that got removedCollection.removeAll(Collection)public boolean retainAll(BooleanCollection c)
retainAll in interface BooleanCollectionc - the elements that should be keptjava.lang.NullPointerException - if the collection is nullCollection.retainAll(Collection)public boolean retainAll(BooleanCollection c, BooleanConsumer r)
BooleanCollectionretainAll in interface BooleanCollectionc - the collection of elements that should be keptr - elements that got removedCollection.retainAll(Collection)public boolean[] toBooleanArray()
toBooleanArray(boolean[]) with a newly created array.toBooleanArray in interface BooleanCollectiontoBooleanArray in interface BooleanIterableCollection.toArray()public boolean[] toBooleanArray(boolean[] a)
toBooleanArray in interface BooleanCollectiona - array that the elements should be injected to. If null or to small a new array with the right size is createdCollection.toArray(Object[])