public static class BooleanCollections.IterableCollection extends AbstractBooleanCollection implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
isEmpty() |
BooleanIterator |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
int |
size() |
BooleanSpliterator |
spliterator()
Returns a type-specific spliterator on the elements of this collection.
|
add, add, addAll, addAll, contains, contains, containsAll, containsAll, rem, remove, removeAll, removeAll, retainAll, retainAll, toArray, toBooleanArray, toBooleanArray, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
removeIf, removeIf
clear, equals, hashCode, parallelStream, stream, toArray, toArray
forEach, forEach
public int size()
size
in interface java.util.Collection<java.lang.Boolean>
size
in class java.util.AbstractCollection<java.lang.Boolean>
public boolean isEmpty()
isEmpty
in interface java.util.Collection<java.lang.Boolean>
isEmpty
in class java.util.AbstractCollection<java.lang.Boolean>
public BooleanIterator iterator()
BooleanCollection
iterator
in interface BooleanCollection
iterator
in interface BooleanIterable
iterator
in interface java.lang.Iterable<java.lang.Boolean>
iterator
in interface java.util.Collection<java.lang.Boolean>
iterator
in class AbstractBooleanCollection
Iterable.iterator()
public BooleanSpliterator spliterator()
BooleanCollection
See Collection.spliterator()
for more documentation on the requirements
of the returned spliterator.
spliterator
in interface BooleanCollection
spliterator
in interface BooleanIterable
spliterator
in interface java.lang.Iterable<java.lang.Boolean>
spliterator
in interface java.util.Collection<java.lang.Boolean>