protected class AbstractObject2FloatSortedMap.ValuesCollection extends AbstractFloatCollection
| Modifier | Constructor and Description |
|---|---|
protected |
ValuesCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
contains(float k)
Returns
true if this collection contains the specified element. |
FloatIterator |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
int |
size() |
add, add, addAll, contains, containsAll, rem, remove, removeAll, retainAll, toArray, toFloatArray, toFloatArray, 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 FloatIterator iterator()
FloatCollectionNote 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 FloatCollectioniterator in interface FloatIterableiterator in interface Iterable<Float>iterator in interface Collection<Float>iterator in class AbstractFloatCollectionIterable.iterator()public boolean contains(float k)
AbstractFloatCollectiontrue if this collection contains the specified element.
This implementation iterates over the elements in the collection, looking for the specified element.
contains in interface FloatCollectioncontains in class AbstractFloatCollectionCollection.contains(Object)public int size()
size in interface Collection<Float>size in class AbstractCollection<Float>public void clear()
clear in interface Collection<Float>clear in class AbstractCollection<Float>Copyright © 2020. All rights reserved.