protected class AbstractObject2IntSortedMap.ValuesCollection extends AbstractIntCollection
| Modifier | Constructor and Description |
|---|---|
protected |
ValuesCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
contains(int k)
Returns
true if this collection contains the specified element. |
IntIterator |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
int |
size() |
add, add, addAll, contains, containsAll, rem, remove, removeAll, retainAll, toArray, toIntArray, toIntArray, toStringaddAll, containsAll, isEmpty, removeAll, retainAll, toArray, toArrayclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitremoveIf, removeIfaddAll, containsAll, equals, hashCode, isEmpty, parallelStream, removeAll, retainAll, spliterator, stream, toArray, toArrayforEach, forEachpublic IntIterator iterator()
IntCollectionNote 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 IntCollectioniterator in interface IntIterableiterator in interface Iterable<Integer>iterator in interface Collection<Integer>iterator in class AbstractIntCollectionIterable.iterator()public boolean contains(int k)
AbstractIntCollectiontrue if this collection contains the specified element.
This implementation iterates over the elements in the collection, looking for the specified element.
contains in interface IntCollectioncontains in class AbstractIntCollectionCollection.contains(Object)public int size()
size in interface Collection<Integer>size in class AbstractCollection<Integer>public void clear()
clear in interface Collection<Integer>clear in class AbstractCollection<Integer>Copyright © 2020. All rights reserved.