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