public static class FloatCollections.IterableCollection extends AbstractFloatCollection implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
DoubleIterator |
doubleIterator()
Returns a widened primitive iterator on the elements of this collection.
|
DoubleSpliterator |
doubleSpliterator()
Returns widened primitive spliterator on the elements of this collection.
|
boolean |
isEmpty() |
FloatIterator |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
int |
size() |
FloatSpliterator |
spliterator()
Returns a type-specific spliterator on the elements of this collection.
|
add, add, addAll, addAll, contains, contains, containsAll, containsAll, rem, remove, removeAll, removeAll, retainAll, retainAll, toArray, toFloatArray, toFloatArray, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
doubleParallelStream, doubleStream, parallelStream, removeIf, removeIf, removeIf, stream
forEach, forEach, forEach
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 java.util.AbstractCollection<java.lang.Float>
public FloatIterator iterator()
FloatCollection
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
Iterable.iterator()
public FloatSpliterator spliterator()
FloatCollection
See Collection.spliterator()
for more documentation on the requirements
of the returned spliterator.
spliterator
in interface FloatCollection
spliterator
in interface FloatIterable
spliterator
in interface java.lang.Iterable<java.lang.Float>
spliterator
in interface java.util.Collection<java.lang.Float>
public DoubleIterator doubleIterator()
FloatCollection
This method is provided for the purpose of APIs that expect only the JDK's
primitive iterators, of which there are only int
, long
, and double
.
doubleIterator
in interface FloatCollection
doubleIterator
in interface FloatIterable
public DoubleSpliterator doubleSpliterator()
FloatCollection
This method is provided for the purpose of APIs that expect only the JDK's
primitive spliterators, of which there are only int
, long
, and double
.
doubleSpliterator
in interface FloatCollection
doubleSpliterator
in interface FloatIterable