public static class BooleanCollections.IterableCollection extends AbstractBooleanCollection implements Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty()
Returns true if this collection contains no elements.
|
BooleanIterator |
iterator()
Returns an iterator over the elements contained in this collection.
|
int |
size()
Returns the number of elements in this collection.
|
add, add, addAll, contains, contains, containsAll, rem, remove, removeAll, retainAll, toArray, toBooleanArray, toBooleanArray, toStringaddAll, clear, containsAll, removeAll, retainAll, toArray, toArrayequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAll, clear, containsAll, equals, hashCode, parallelStream, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArrayforEach, forEachpublic int size()
java.util.Collectionsize in interface Collection<Boolean>size in class AbstractCollection<Boolean>public boolean isEmpty()
java.util.AbstractCollectionThis implementation returns size() == 0.
isEmpty in interface Collection<Boolean>isEmpty in class AbstractCollection<Boolean>public BooleanIterator iterator()
java.util.AbstractCollectioniterator in interface BooleanCollectioniterator in interface BooleanIterableiterator in interface Iterable<Boolean>iterator in interface Collection<Boolean>iterator in class AbstractBooleanCollectionIterable.iterator()