Class TapIntIterable
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.primitive.AbstractLazyIntIterable
-
- org.eclipse.collections.impl.lazy.primitive.TapIntIterable
-
- All Implemented Interfaces:
IntIterable,LazyIntIterable,PrimitiveIterable
public class TapIntIterable extends AbstractLazyIntIterable
This file was automatically generated from template file tapPrimitiveIterable.stg.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTapIntIterable.TapIntIterator
-
Field Summary
Fields Modifier and Type Field Description private IntIterableadaptedprivate IntProcedureprocedure
-
Constructor Summary
Constructors Constructor Description TapIntIterable(IntIterable delegate, IntProcedure procedure)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallSatisfy(IntPredicate predicate)Returns true if all of the elements in the IntIterable return true for the specified predicate, otherwise returns false.booleananySatisfy(IntPredicate predicate)Returns true if any of the elements in the IntIterable return true for the specified predicate, otherwise returns false.intdetectIfNone(IntPredicate predicate, int ifNone)voideach(IntProcedure procedure)A synonym for forEach.IntIteratorintIterator()Returns a primitive iterator that can be used to iterate over the IntIterable in an imperative style.booleannoneSatisfy(IntPredicate predicate)Returns true if none of the elements in the IntIterable return true for the specified predicate, otherwise returns false.-
Methods inherited from class org.eclipse.collections.impl.lazy.primitive.AbstractLazyIntIterable
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.IntIterable
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 IntIterable adapted
-
procedure
private final IntProcedure procedure
-
-
Constructor Detail
-
TapIntIterable
public TapIntIterable(IntIterable delegate, IntProcedure procedure)
-
-
Method Detail
-
each
public void each(IntProcedure procedure)
Description copied from interface:IntIterableA synonym for forEach.
-
anySatisfy
public boolean anySatisfy(IntPredicate predicate)
Description copied from interface:IntIterableReturns true if any of the elements in the IntIterable return true for the specified predicate, otherwise returns false.- Specified by:
anySatisfyin interfaceIntIterable- Overrides:
anySatisfyin classAbstractLazyIntIterable
-
allSatisfy
public boolean allSatisfy(IntPredicate predicate)
Description copied from interface:IntIterableReturns true if all of the elements in the IntIterable return true for the specified predicate, otherwise returns false.- Specified by:
allSatisfyin interfaceIntIterable- Overrides:
allSatisfyin classAbstractLazyIntIterable
-
noneSatisfy
public boolean noneSatisfy(IntPredicate predicate)
Description copied from interface:IntIterableReturns true if none of the elements in the IntIterable return true for the specified predicate, otherwise returns false.- Specified by:
noneSatisfyin interfaceIntIterable- Overrides:
noneSatisfyin classAbstractLazyIntIterable
-
detectIfNone
public int detectIfNone(IntPredicate predicate, int ifNone)
- Specified by:
detectIfNonein interfaceIntIterable- Overrides:
detectIfNonein classAbstractLazyIntIterable
-
intIterator
public IntIterator intIterator()
Description copied from interface:IntIterableReturns a primitive iterator that can be used to iterate over the IntIterable in an imperative style.
-
-