Class CollectIntIterable<T>
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.primitive.AbstractLazyIntIterable
-
- org.eclipse.collections.impl.lazy.primitive.CollectIntIterable<T>
-
- All Implemented Interfaces:
IntIterable,LazyIntIterable,PrimitiveIterable
public class CollectIntIterable<T> extends AbstractLazyIntIterable
This file was automatically generated from template file collectPrimitiveIterable.stg.
-
-
Constructor Summary
Constructors Constructor Description CollectIntIterable(LazyIterable<T> adapted, IntFunction<? super T> function)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallSatisfy(IntPredicate predicate)booleananySatisfy(IntPredicate predicate)booleancontainsAll(int... source)booleancontainsAll(IntIterable source)intcount(IntPredicate predicate)voideach(IntProcedure procedure)IntIteratorintIterator()booleanisEmpty()booleannotEmpty()intsize()int[]toArray()MutableIntBagtoBag()MutableIntListtoList()MutableIntSettoSet()int[]toSortedArray()-
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, detectIfNone, flatCollect, injectInto, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, tap, toSortedList, toString
-
Methods inherited from class java.lang.Object
equals, 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
-
-
-
-
Constructor Detail
-
CollectIntIterable
public CollectIntIterable(LazyIterable<T> adapted, IntFunction<? super T> function)
-
-
Method Detail
-
intIterator
public IntIterator intIterator()
-
each
public void each(IntProcedure procedure)
- Since:
- 7.0.
-
size
public int size()
- Specified by:
sizein interfacePrimitiveIterable- Overrides:
sizein classAbstractLazyIntIterable
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfacePrimitiveIterable- Overrides:
isEmptyin classAbstractLazyIntIterable
-
notEmpty
public boolean notEmpty()
- Specified by:
notEmptyin interfacePrimitiveIterable- Overrides:
notEmptyin classAbstractLazyIntIterable
-
count
public int count(IntPredicate predicate)
- Specified by:
countin interfaceIntIterable- Overrides:
countin classAbstractLazyIntIterable
-
anySatisfy
public boolean anySatisfy(IntPredicate predicate)
- Specified by:
anySatisfyin interfaceIntIterable- Overrides:
anySatisfyin classAbstractLazyIntIterable
-
allSatisfy
public boolean allSatisfy(IntPredicate predicate)
- Specified by:
allSatisfyin interfaceIntIterable- Overrides:
allSatisfyin classAbstractLazyIntIterable
-
toArray
public int[] toArray()
- Specified by:
toArrayin interfaceIntIterable- Overrides:
toArrayin classAbstractLazyIntIterable
-
toSortedArray
public int[] toSortedArray()
- Specified by:
toSortedArrayin interfaceIntIterable- Overrides:
toSortedArrayin classAbstractLazyIntIterable
-
toList
public MutableIntList toList()
- Specified by:
toListin interfaceIntIterable- Overrides:
toListin classAbstractLazyIntIterable
-
toSet
public MutableIntSet toSet()
- Specified by:
toSetin interfaceIntIterable- Overrides:
toSetin classAbstractLazyIntIterable
-
toBag
public MutableIntBag toBag()
- Specified by:
toBagin interfaceIntIterable- Overrides:
toBagin classAbstractLazyIntIterable
-
containsAll
public boolean containsAll(int... source)
- Specified by:
containsAllin interfaceIntIterable- Overrides:
containsAllin classAbstractLazyIntIterable
-
containsAll
public boolean containsAll(IntIterable source)
- Specified by:
containsAllin interfaceIntIterable- Overrides:
containsAllin classAbstractLazyIntIterable
-
-