Class TapDoubleIterable
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.primitive.AbstractLazyDoubleIterable
-
- org.eclipse.collections.impl.lazy.primitive.TapDoubleIterable
-
- All Implemented Interfaces:
DoubleIterable,LazyDoubleIterable,PrimitiveIterable
public class TapDoubleIterable extends AbstractLazyDoubleIterable
This file was automatically generated from template file tapPrimitiveIterable.stg.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTapDoubleIterable.TapDoubleIterator
-
Field Summary
Fields Modifier and Type Field Description private DoubleIterableadaptedprivate DoubleProcedureprocedure
-
Constructor Summary
Constructors Constructor Description TapDoubleIterable(DoubleIterable delegate, DoubleProcedure procedure)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallSatisfy(DoublePredicate predicate)Returns true if all of the elements in the DoubleIterable return true for the specified predicate, otherwise returns false.booleananySatisfy(DoublePredicate predicate)Returns true if any of the elements in the DoubleIterable return true for the specified predicate, otherwise returns false.doubledetectIfNone(DoublePredicate predicate, double ifNone)DoubleIteratordoubleIterator()Returns a primitive iterator that can be used to iterate over the DoubleIterable in an imperative style.voideach(DoubleProcedure procedure)A synonym for forEach.booleannoneSatisfy(DoublePredicate predicate)Returns true if none of the elements in the DoubleIterable return true for the specified predicate, otherwise returns false.-
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, containsAll, containsAll, count, flatCollect, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, notEmpty, reject, select, size, sum, tap, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, 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
-
-
-
-
Field Detail
-
adapted
private final DoubleIterable adapted
-
procedure
private final DoubleProcedure procedure
-
-
Constructor Detail
-
TapDoubleIterable
public TapDoubleIterable(DoubleIterable delegate, DoubleProcedure procedure)
-
-
Method Detail
-
each
public void each(DoubleProcedure procedure)
Description copied from interface:DoubleIterableA synonym for forEach.
-
anySatisfy
public boolean anySatisfy(DoublePredicate predicate)
Description copied from interface:DoubleIterableReturns true if any of the elements in the DoubleIterable return true for the specified predicate, otherwise returns false.- Specified by:
anySatisfyin interfaceDoubleIterable- Overrides:
anySatisfyin classAbstractLazyDoubleIterable
-
allSatisfy
public boolean allSatisfy(DoublePredicate predicate)
Description copied from interface:DoubleIterableReturns true if all of the elements in the DoubleIterable return true for the specified predicate, otherwise returns false.- Specified by:
allSatisfyin interfaceDoubleIterable- Overrides:
allSatisfyin classAbstractLazyDoubleIterable
-
noneSatisfy
public boolean noneSatisfy(DoublePredicate predicate)
Description copied from interface:DoubleIterableReturns true if none of the elements in the DoubleIterable return true for the specified predicate, otherwise returns false.- Specified by:
noneSatisfyin interfaceDoubleIterable- Overrides:
noneSatisfyin classAbstractLazyDoubleIterable
-
detectIfNone
public double detectIfNone(DoublePredicate predicate, double ifNone)
- Specified by:
detectIfNonein interfaceDoubleIterable- Overrides:
detectIfNonein classAbstractLazyDoubleIterable
-
doubleIterator
public DoubleIterator doubleIterator()
Description copied from interface:DoubleIterableReturns a primitive iterator that can be used to iterate over the DoubleIterable in an imperative style.
-
-