protected class AbstractDouble2DoubleSortedMap.ValuesCollection extends AbstractDoubleCollection
| Modifier | Constructor and Description |
|---|---|
protected |
ValuesCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
contains(double k)
Returns
true if this collection contains the specified element. |
DoubleIterator |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
int |
size() |
add, add, addAll, contains, containsAll, rem, remove, removeAll, retainAll, toArray, toDoubleArray, toDoubleArray, 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 DoubleIterator iterator()
DoubleCollectionNote 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 DoubleCollectioniterator in interface DoubleIterableiterator in interface Iterable<Double>iterator in interface Collection<Double>iterator in class AbstractDoubleCollectionIterable.iterator()public boolean contains(double k)
AbstractDoubleCollectiontrue if this collection contains the specified element.
This implementation iterates over the elements in the collection, looking for the specified element.
contains in interface DoubleCollectioncontains in class AbstractDoubleCollectionCollection.contains(Object)public int size()
size in interface Collection<Double>size in class AbstractCollection<Double>public void clear()
clear in interface Collection<Double>clear in class AbstractCollection<Double>Copyright © 2020. All rights reserved.