BooleanCollection, BooleanIterable, java.io.Serializable, java.lang.Iterable<java.lang.Boolean>, java.util.Collection<java.lang.Boolean>public static class BooleanCollections.IterableCollection extends AbstractBooleanCollection implements java.io.Serializable
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isEmpty() |
|
BooleanIterator |
iterator() |
Returns a type-specific iterator on the elements of this collection.
|
int |
size() |
add, add, addAll, contains, contains, containsAll, rem, remove, removeAll, retainAll, toArray, toBooleanArray, toBooleanArray, toStringaddAll, clear, containsAll, removeAll, retainAll, toArray, toArrayforEach, forEachpublic 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
Note that this specification strengthens the one given in
Iterable.iterator(), which was already strengthened in the
corresponding type-specific class, but was weakened by the fact that this
interface extends Collection.
iterator in interface BooleanCollectioniterator in interface BooleanIterableiterator in interface java.util.Collection<java.lang.Boolean>iterator in interface java.lang.Iterable<java.lang.Boolean>iterator in class AbstractBooleanCollectionIterable.iterator()