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 class
TapLongIterable.TapLongIterator
-
Field Summary
Fields Modifier and Type Field Description private LongIterable
adapted
private LongProcedure
procedure
-
Constructor Summary
Constructors Constructor Description TapLongIterable(LongIterable delegate, LongProcedure procedure)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allSatisfy(LongPredicate predicate)
Returns true if all of the elements in the LongIterable return true for the specified predicate, otherwise returns false.boolean
anySatisfy(LongPredicate predicate)
Returns true if any of the elements in the LongIterable return true for the specified predicate, otherwise returns false.long
detectIfNone(LongPredicate predicate, long ifNone)
void
each(LongProcedure procedure)
A synonym for forEach.LongIterator
longIterator()
Returns a primitive iterator that can be used to iterate over the LongIterable in an imperative style.boolean
noneSatisfy(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:LongIterable
A synonym for forEach.
-
anySatisfy
public boolean anySatisfy(LongPredicate predicate)
Description copied from interface:LongIterable
Returns true if any of the elements in the LongIterable return true for the specified predicate, otherwise returns false.- Specified by:
anySatisfy
in interfaceLongIterable
- Overrides:
anySatisfy
in classAbstractLazyLongIterable
-
allSatisfy
public boolean allSatisfy(LongPredicate predicate)
Description copied from interface:LongIterable
Returns true if all of the elements in the LongIterable return true for the specified predicate, otherwise returns false.- Specified by:
allSatisfy
in interfaceLongIterable
- Overrides:
allSatisfy
in classAbstractLazyLongIterable
-
noneSatisfy
public boolean noneSatisfy(LongPredicate predicate)
Description copied from interface:LongIterable
Returns true if none of the elements in the LongIterable return true for the specified predicate, otherwise returns false.- Specified by:
noneSatisfy
in interfaceLongIterable
- Overrides:
noneSatisfy
in classAbstractLazyLongIterable
-
detectIfNone
public long detectIfNone(LongPredicate predicate, long ifNone)
- Specified by:
detectIfNone
in interfaceLongIterable
- Overrides:
detectIfNone
in classAbstractLazyLongIterable
-
longIterator
public LongIterator longIterator()
Description copied from interface:LongIterable
Returns a primitive iterator that can be used to iterate over the LongIterable in an imperative style.
-
-