protected class AbstractShort2ShortSortedMap.ValuesCollection extends AbstractShortCollection
| Modifier | Constructor and Description |
|---|---|
protected |
ValuesCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
contains(short k)
Returns
true if this collection contains the specified element. |
ShortIterator |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
int |
size() |
add, add, addAll, contains, containsAll, rem, remove, removeAll, retainAll, toArray, toShortArray, toShortArray, 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 ShortIterator iterator()
ShortCollectionNote 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 ShortCollectioniterator in interface ShortIterableiterator in interface Iterable<Short>iterator in interface Collection<Short>iterator in class AbstractShortCollectionIterable.iterator()public boolean contains(short k)
AbstractShortCollectiontrue if this collection contains the specified element.
This implementation iterates over the elements in the collection, looking for the specified element.
contains in interface ShortCollectioncontains in class AbstractShortCollectionCollection.contains(Object)public int size()
size in interface Collection<Short>size in class AbstractCollection<Short>public void clear()
clear in interface Collection<Short>clear in class AbstractCollection<Short>Copyright © 2020. All rights reserved.