public static class DoubleCollections.IterableCollection extends AbstractDoubleCollection implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected DoubleIterable |
iterable |
| Modifier | Constructor and Description |
|---|---|
protected |
IterableCollection(DoubleIterable iterable) |
| Modifier and Type | Method and Description |
|---|---|
it.unimi.dsi.fastutil.doubles.DoubleIterator |
doubleIterator()
Returns a primitive iterator on the elements of this collection.
|
it.unimi.dsi.fastutil.doubles.DoubleSpliterator |
doubleSpliterator()
Returns a primitive spliterator on the elements of this collection.
|
boolean |
isEmpty() |
it.unimi.dsi.fastutil.doubles.DoubleIterator |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
int |
size() |
it.unimi.dsi.fastutil.doubles.DoubleSpliterator |
spliterator()
Returns a type-specific spliterator on the elements of this collection.
|
add, add, addAll, addAll, contains, contains, containsAll, containsAll, forEach, rem, remove, removeAll, removeAll, removeIf, retainAll, retainAll, toArray, toDoubleArray, toDoubleArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdoubleParallelStream, doubleStream, parallelStream, removeIf, removeIf, streamforEach, forEachprotected final DoubleIterable iterable
protected IterableCollection(DoubleIterable iterable)
public int size()
size in interface java.util.Collection<java.lang.Double>size in class java.util.AbstractCollection<java.lang.Double>public boolean isEmpty()
isEmpty in interface java.util.Collection<java.lang.Double>isEmpty in class java.util.AbstractCollection<java.lang.Double>public it.unimi.dsi.fastutil.doubles.DoubleIterator iterator()
DoubleCollectioniterator in interface DoubleCollectioniterator in interface DoubleIterableiterator in interface java.lang.Iterable<java.lang.Double>iterator in interface java.util.Collection<java.lang.Double>iterator in class AbstractDoubleCollectionIterable.iterator()public it.unimi.dsi.fastutil.doubles.DoubleSpliterator spliterator()
DoubleCollectionSee Collection.spliterator() for more documentation on the requirements
of the returned spliterator.
spliterator in interface DoubleCollectionspliterator in interface DoubleIterablespliterator in interface java.lang.Iterable<java.lang.Double>spliterator in interface java.util.Collection<java.lang.Double>public it.unimi.dsi.fastutil.doubles.DoubleIterator doubleIterator()
DoubleCollection
This method is identical to DoubleCollection.iterator(), as the type-specific
iterator is already compatible with the JDK's primitive iterators.
It only exists for compatibility with the other primitive types' Collections
that have use for widened iterators.
doubleIterator in interface DoubleCollectiondoubleIterator in interface DoubleIterablepublic it.unimi.dsi.fastutil.doubles.DoubleSpliterator doubleSpliterator()
DoubleCollection
This method is identical to DoubleCollection.spliterator(), as the type-specific
spliterator is already compatible with the JDK's primitive spliterators.
It only exists for compatibility with the other primitive types' Collections
that have use for widened spliterators.
doubleSpliterator in interface DoubleCollectiondoubleSpliterator in interface DoubleIterable