protected class AbstractInt2BooleanSortedMap.ValuesCollection extends AbstractBooleanCollection
| Modifier | Constructor and Description |
|---|---|
protected |
ValuesCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
contains(boolean k)
Returns
true if this collection contains the specified element. |
BooleanIterator |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
int |
size() |
add, add, addAll, contains, containsAll, rem, remove, removeAll, retainAll, toArray, toBooleanArray, toBooleanArray, toStringaddAll, containsAll, isEmpty, removeAll, retainAll, toArray, toArrayclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAll, containsAll, equals, hashCode, isEmpty, parallelStream, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArrayforEach, forEachpublic 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 AbstractBooleanCollectionIterable.iterator()public boolean contains(boolean k)
AbstractBooleanCollectiontrue if this collection contains the specified element.
This implementation iterates over the elements in the collection, looking for the specified element.
contains in interface BooleanCollectioncontains in class AbstractBooleanCollectionCollection.contains(Object)public int size()
size in interface Collection<Boolean>size in class AbstractCollection<Boolean>public void clear()
clear in interface Collection<Boolean>clear in class AbstractCollection<Boolean>Copyright © 2020. All rights reserved.