public static class FloatCollections.IterableCollection extends AbstractFloatCollection implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
FloatIterator |
floatIterator()
Deprecated.
|
boolean |
isEmpty() |
FloatIterator |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
int |
size() |
add, add, addAll, addAll, contains, contains, containsAll, containsAll, rem, rem, remove, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toFloatArray, toFloatArray, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
public int size()
size
in interface java.util.Collection<java.lang.Float>
size
in class java.util.AbstractCollection<java.lang.Float>
public boolean isEmpty()
isEmpty
in interface java.util.Collection<java.lang.Float>
isEmpty
in class AbstractFloatCollection
public FloatIterator iterator()
FloatCollection
Note 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 FloatCollection
iterator
in interface FloatIterable
iterator
in interface java.lang.Iterable<java.lang.Float>
iterator
in interface java.util.Collection<java.lang.Float>
iterator
in class AbstractFloatCollection
@Deprecated public FloatIterator floatIterator()
AbstractFloatCollection
floatIterator
in interface FloatCollection
floatIterator
in class AbstractFloatCollection
FloatCollection.iterator()