public static class BooleanCollections.SynchronizedCollection extends java.lang.Object implements BooleanCollection
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(boolean o)
A Type-Specific add function to reduce (un)boxing
|
boolean |
addAll(BooleanCollection c)
A Type-Specific addAll function to reduce (un)boxing
|
boolean |
addAll(java.util.Collection<? extends java.lang.Boolean> c) |
void |
clear() |
boolean |
contains(boolean o)
A Type-Specific contains function to reduce (un)boxing
|
boolean |
containsAll(BooleanCollection c)
A Type-Specific containsAll function to reduce (un)boxing
|
boolean |
containsAll(java.util.Collection<?> c)
Deprecated.
|
boolean |
containsAny(BooleanCollection c)
A Type-Specific containsAny function to reduce (un)boxing
|
boolean |
containsAny(java.util.Collection<?> c)
Deprecated.
|
boolean |
isEmpty() |
BooleanIterator |
iterator()
Returns a Type-Specific Iterator to reduce (un)boxing
|
boolean |
remBoolean(boolean o)
A Type-Specific remove function that reduces (un)boxing.
|
boolean |
remove(java.lang.Object o)
Deprecated.
|
boolean |
removeAll(BooleanCollection c)
A Type-Specific removeAll function that reduces (un)boxing.
|
boolean |
removeAll(java.util.Collection<?> c)
Deprecated.
|
boolean |
retainAll(BooleanCollection c)
A Type-Specific retainAll function that reduces (un)boxing.
|
boolean |
retainAll(java.util.Collection<?> c)
Deprecated.
|
int |
size() |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
boolean[] |
toBooleanArray()
A Type-Specific toArray function that delegates to
BooleanCollection.toBooleanArray(boolean[]) with a newly created array. |
boolean[] |
toBooleanArray(boolean[] a)
A Type-Specific toArray function that reduces (un)boxing.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, contains, spliteratorequals, hashCode, parallelStream, removeIf, streamforEach, forEachpublic boolean add(boolean o)
BooleanCollectionadd in interface BooleanCollectiono - the element that should be addedpublic boolean addAll(java.util.Collection<? extends java.lang.Boolean> c)
addAll in interface java.util.Collection<java.lang.Boolean>public boolean addAll(BooleanCollection c)
BooleanCollectionaddAll in interface BooleanCollectionc - the collection of elements that should be addedpublic boolean contains(boolean o)
BooleanCollectioncontains in interface BooleanCollectiono - the element that is checked for@Deprecated public boolean containsAll(java.util.Collection<?> c)
containsAll in interface java.util.Collection<java.lang.Boolean>@Deprecated public boolean containsAny(java.util.Collection<?> c)
BooleanCollectioncontainsAny in interface BooleanCollectionc - the collection of elements that should be tested forpublic boolean containsAll(BooleanCollection c)
BooleanCollectioncontainsAll in interface BooleanCollectionc - the collection of elements that should be tested forpublic boolean containsAny(BooleanCollection c)
BooleanCollectioncontainsAny in interface BooleanCollectionc - the collection of elements that should be tested forpublic int size()
size in interface java.util.Collection<java.lang.Boolean>public boolean isEmpty()
isEmpty in interface java.util.Collection<java.lang.Boolean>public 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 BooleanIterableCollection.iterator()@Deprecated public boolean remove(java.lang.Object o)
BooleanCollectionThis default implementation delegates to the corresponding type-specific function.
remove in interface java.util.Collection<java.lang.Boolean>remove in interface BooleanCollection@Deprecated public boolean removeAll(java.util.Collection<?> c)
removeAll in interface java.util.Collection<java.lang.Boolean>@Deprecated public boolean retainAll(java.util.Collection<?> c)
retainAll in interface java.util.Collection<java.lang.Boolean>public boolean remBoolean(boolean o)
BooleanCollectionremBoolean in interface BooleanCollectiono - the element that should be removedCollection.remove(Object)public boolean removeAll(BooleanCollection c)
BooleanCollectionremoveAll in interface BooleanCollectionc - the collection of elements that should be removedCollection.removeAll(Collection)public boolean retainAll(BooleanCollection c)
BooleanCollectionretainAll in interface BooleanCollectionc - the collection of elements that should be keptCollection.retainAll(Collection)public void clear()
clear in interface java.util.Collection<java.lang.Boolean>public java.lang.Object[] toArray()
toArray in interface java.util.Collection<java.lang.Boolean>public <T> T[] toArray(T[] a)
toArray in interface java.util.Collection<java.lang.Boolean>public boolean[] toBooleanArray()
BooleanCollectionBooleanCollection.toBooleanArray(boolean[]) with a newly created array.toBooleanArray in interface BooleanCollectionCollection.toArray()public boolean[] toBooleanArray(boolean[] a)
BooleanCollectiontoBooleanArray 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[])