public static class BooleanCollections.IterableCollection extends AbstractBooleanCollection implements Serializable
| Modifier and Type | Method and Description |
|---|---|
BooleanIterator |
booleanIterator()
Deprecated.
|
boolean |
isEmpty() |
BooleanIterator |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
int |
size() |
add, add, addAll, addAll, contains, contains, containsAll, containsAll, rem, rem, remove, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toBooleanArray, toBooleanArray, toStringclearequals, getClass, hashCode, notify, notifyAll, wait, wait, waitclear, equals, hashCode, parallelStream, removeIf, spliterator, streampublic int size()
size in interface Collection<Boolean>size in class AbstractCollection<Boolean>public boolean isEmpty()
isEmpty in interface Collection<Boolean>isEmpty in class AbstractBooleanCollectionpublic BooleanIterator iterator()
BooleanCollectionNote 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 Iterable<Boolean>iterator in interface Collection<Boolean>iterator in class AbstractBooleanCollection@Deprecated public BooleanIterator booleanIterator()
AbstractBooleanCollectionbooleanIterator in interface BooleanCollectionbooleanIterator in class AbstractBooleanCollectionBooleanCollection.iterator()