public static class FloatCollections.IterableCollection extends AbstractFloatCollection implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected FloatIterable |
iterable |
| Modifier | Constructor and Description |
|---|---|
protected |
IterableCollection(FloatIterable iterable) |
| Modifier and Type | Method and Description |
|---|---|
it.unimi.dsi.fastutil.doubles.DoubleIterator |
doubleIterator()
Returns a widened primitive iterator on the elements of this collection.
|
it.unimi.dsi.fastutil.doubles.DoubleSpliterator |
doubleSpliterator()
Returns widened primitive spliterator on the elements of this collection.
|
boolean |
isEmpty() |
it.unimi.dsi.fastutil.floats.FloatIterator |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
int |
size() |
it.unimi.dsi.fastutil.floats.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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdoubleParallelStream, doubleStream, parallelStream, removeIf, removeIf, removeIf, streamforEach, forEach, forEachprotected final FloatIterable iterable
protected IterableCollection(FloatIterable iterable)
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 it.unimi.dsi.fastutil.floats.FloatIterator iterator()
FloatCollectioniterator in interface FloatCollectioniterator in interface FloatIterableiterator in interface java.lang.Iterable<java.lang.Float>iterator in interface java.util.Collection<java.lang.Float>iterator in class AbstractFloatCollectionIterable.iterator()public it.unimi.dsi.fastutil.floats.FloatSpliterator spliterator()
FloatCollectionSee Collection.spliterator() for more documentation on the requirements
of the returned spliterator.
spliterator in interface FloatCollectionspliterator in interface FloatIterablespliterator in interface java.lang.Iterable<java.lang.Float>spliterator in interface java.util.Collection<java.lang.Float>public it.unimi.dsi.fastutil.doubles.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 FloatCollectiondoubleIterator in interface FloatIterablepublic it.unimi.dsi.fastutil.doubles.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 FloatCollectiondoubleSpliterator in interface FloatIterable