Class TapLongIterable
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.primitive.AbstractLazyLongIterable
-
- org.eclipse.collections.impl.lazy.primitive.TapLongIterable
-
- All Implemented Interfaces:
LazyLongIterable,LongIterable,PrimitiveIterable
public class TapLongIterable extends AbstractLazyLongIterable
This file was automatically generated from template file tapPrimitiveIterable.stg.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTapLongIterable.TapLongIterator
-
Field Summary
Fields Modifier and Type Field Description private LongIterableadaptedprivate LongProcedureprocedure
-
Constructor Summary
Constructors Constructor Description TapLongIterable(LongIterable delegate, LongProcedure procedure)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallSatisfy(LongPredicate predicate)Returns true if all of the elements in the LongIterable return true for the specified predicate, otherwise returns false.booleananySatisfy(LongPredicate predicate)Returns true if any of the elements in the LongIterable return true for the specified predicate, otherwise returns false.longdetectIfNone(LongPredicate predicate, long ifNone)voideach(LongProcedure procedure)A synonym for forEach.LongIteratorlongIterator()Returns a primitive iterator that can be used to iterate over the LongIterable in an imperative style.booleannoneSatisfy(LongPredicate predicate)Returns true if none of the elements in the LongIterable return true for the specified predicate, otherwise returns false.-
Methods inherited from class org.eclipse.collections.impl.lazy.primitive.AbstractLazyLongIterable
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.LongIterable
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 LongIterable adapted
-
procedure
private final LongProcedure procedure
-
-
Constructor Detail
-
TapLongIterable
public TapLongIterable(LongIterable delegate, LongProcedure procedure)
-
-
Method Detail
-
each
public void each(LongProcedure procedure)
Description copied from interface:LongIterableA synonym for forEach.
-
anySatisfy
public boolean anySatisfy(LongPredicate predicate)
Description copied from interface:LongIterableReturns true if any of the elements in the LongIterable return true for the specified predicate, otherwise returns false.- Specified by:
anySatisfyin interfaceLongIterable- Overrides:
anySatisfyin classAbstractLazyLongIterable
-
allSatisfy
public boolean allSatisfy(LongPredicate predicate)
Description copied from interface:LongIterableReturns true if all of the elements in the LongIterable return true for the specified predicate, otherwise returns false.- Specified by:
allSatisfyin interfaceLongIterable- Overrides:
allSatisfyin classAbstractLazyLongIterable
-
noneSatisfy
public boolean noneSatisfy(LongPredicate predicate)
Description copied from interface:LongIterableReturns true if none of the elements in the LongIterable return true for the specified predicate, otherwise returns false.- Specified by:
noneSatisfyin interfaceLongIterable- Overrides:
noneSatisfyin classAbstractLazyLongIterable
-
detectIfNone
public long detectIfNone(LongPredicate predicate, long ifNone)
- Specified by:
detectIfNonein interfaceLongIterable- Overrides:
detectIfNonein classAbstractLazyLongIterable
-
longIterator
public LongIterator longIterator()
Description copied from interface:LongIterableReturns a primitive iterator that can be used to iterate over the LongIterable in an imperative style.
-
-