Class CollectDoubleIterable<T>
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.primitive.AbstractLazyDoubleIterable
-
- org.eclipse.collections.impl.lazy.primitive.CollectDoubleIterable<T>
-
- All Implemented Interfaces:
DoubleIterable
,LazyDoubleIterable
,PrimitiveIterable
public class CollectDoubleIterable<T> extends AbstractLazyDoubleIterable
This file was automatically generated from template file collectPrimitiveIterable.stg.
-
-
Constructor Summary
Constructors Constructor Description CollectDoubleIterable(LazyIterable<T> adapted, DoubleFunction<? super T> function)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allSatisfy(DoublePredicate predicate)
boolean
anySatisfy(DoublePredicate predicate)
boolean
containsAll(double... source)
boolean
containsAll(DoubleIterable source)
int
count(DoublePredicate predicate)
DoubleIterator
doubleIterator()
void
each(DoubleProcedure procedure)
boolean
isEmpty()
boolean
notEmpty()
int
size()
double[]
toArray()
MutableDoubleBag
toBag()
MutableDoubleList
toList()
MutableDoubleSet
toSet()
double[]
toSortedArray()
-
Methods inherited from class org.eclipse.collections.impl.lazy.primitive.AbstractLazyDoubleIterable
appendString, appendString, appendString, asLazy, average, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, detectIfNone, flatCollect, injectInto, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, tap, toSortedList, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.DoubleIterable
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toArray, toSortedList, toSortedListBy, toSortedListBy
-
-
-
-
Constructor Detail
-
CollectDoubleIterable
public CollectDoubleIterable(LazyIterable<T> adapted, DoubleFunction<? super T> function)
-
-
Method Detail
-
doubleIterator
public DoubleIterator doubleIterator()
-
each
public void each(DoubleProcedure procedure)
- Since:
- 7.0.
-
size
public int size()
- Specified by:
size
in interfacePrimitiveIterable
- Overrides:
size
in classAbstractLazyDoubleIterable
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfacePrimitiveIterable
- Overrides:
isEmpty
in classAbstractLazyDoubleIterable
-
notEmpty
public boolean notEmpty()
- Specified by:
notEmpty
in interfacePrimitiveIterable
- Overrides:
notEmpty
in classAbstractLazyDoubleIterable
-
count
public int count(DoublePredicate predicate)
- Specified by:
count
in interfaceDoubleIterable
- Overrides:
count
in classAbstractLazyDoubleIterable
-
anySatisfy
public boolean anySatisfy(DoublePredicate predicate)
- Specified by:
anySatisfy
in interfaceDoubleIterable
- Overrides:
anySatisfy
in classAbstractLazyDoubleIterable
-
allSatisfy
public boolean allSatisfy(DoublePredicate predicate)
- Specified by:
allSatisfy
in interfaceDoubleIterable
- Overrides:
allSatisfy
in classAbstractLazyDoubleIterable
-
toArray
public double[] toArray()
- Specified by:
toArray
in interfaceDoubleIterable
- Overrides:
toArray
in classAbstractLazyDoubleIterable
-
toSortedArray
public double[] toSortedArray()
- Specified by:
toSortedArray
in interfaceDoubleIterable
- Overrides:
toSortedArray
in classAbstractLazyDoubleIterable
-
toList
public MutableDoubleList toList()
- Specified by:
toList
in interfaceDoubleIterable
- Overrides:
toList
in classAbstractLazyDoubleIterable
-
toSet
public MutableDoubleSet toSet()
- Specified by:
toSet
in interfaceDoubleIterable
- Overrides:
toSet
in classAbstractLazyDoubleIterable
-
toBag
public MutableDoubleBag toBag()
- Specified by:
toBag
in interfaceDoubleIterable
- Overrides:
toBag
in classAbstractLazyDoubleIterable
-
containsAll
public boolean containsAll(double... source)
- Specified by:
containsAll
in interfaceDoubleIterable
- Overrides:
containsAll
in classAbstractLazyDoubleIterable
-
containsAll
public boolean containsAll(DoubleIterable source)
- Specified by:
containsAll
in interfaceDoubleIterable
- Overrides:
containsAll
in classAbstractLazyDoubleIterable
-
-