Class AbstractLazyIntIterable
java.lang.Object
org.eclipse.collections.impl.lazy.primitive.AbstractLazyIntIterable
- All Implemented Interfaces:
IntIterable,LazyIntIterable,PrimitiveIterable
- Direct Known Subclasses:
CollectBooleanToIntIterable,CollectByteToIntIterable,CollectCharToIntIterable,CollectDoubleToIntIterable,CollectFloatToIntIterable,CollectIntIterable,CollectIntToIntIterable,CollectLongToIntIterable,CollectShortToIntIterable,LazyIntIterableAdapter,ReverseIntIterable,SelectIntIterable,TapIntIterable
This file was automatically generated from template file abstractLazyPrimitiveIterable.stg.
- Since:
- 5.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallSatisfy(IntPredicate predicate) booleananySatisfy(IntPredicate predicate) voidappendString(Appendable appendable) voidappendString(Appendable appendable, String separator) voidappendString(Appendable appendable, String start, String separator, String end) asLazy()doubleaverage()chunk(int size) <V> LazyIterable<V>collect(IntToObjectFunction<? extends V> function) collectBoolean(IntToBooleanFunction function) collectByte(IntToByteFunction function) collectChar(IntToCharFunction function) collectDouble(IntToDoubleFunction function) collectFloat(IntToFloatFunction function) collectInt(IntToIntFunction function) collectLong(IntToLongFunction function) collectShort(IntToShortFunction function) booleancontains(int value) booleancontainsAll(int... source) booleancontainsAll(IntIterable source) intcount(IntPredicate predicate) intdetectIfNone(IntPredicate predicate, int ifNone) <V> LazyIterable<V>flatCollect(IntToObjectFunction<? extends Iterable<V>> function) <T> TinjectInto(T injectedValue, ObjectIntToObjectFunction<? super T, ? extends T> function) booleanisEmpty()makeString(String separator) makeString(String start, String separator, String end) intmax()intmaxIfEmpty(int ifEmpty) doublemedian()intmin()intminIfEmpty(int ifEmpty) booleannoneSatisfy(IntPredicate predicate) booleannotEmpty()reject(IntPredicate predicate) select(IntPredicate predicate) intsize()longsum()tap(IntProcedure procedure) int[]toArray()toBag()toList()toSet()int[]toString()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.collections.api.IntIterable
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, each, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, intIterator, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toArray, toSortedList, toSortedListBy, toSortedListBy
-
Constructor Details
-
AbstractLazyIntIterable
public AbstractLazyIntIterable()
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfacePrimitiveIterable
-
toString
- Specified by:
toStringin interfacePrimitiveIterable- Overrides:
toStringin classObject
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()- Specified by:
notEmptyin interfacePrimitiveIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
contains
public boolean contains(int value) - Specified by:
containsin interfaceIntIterable
-
containsAll
public boolean containsAll(int... source) - Specified by:
containsAllin interfaceIntIterable
-
containsAll
- Specified by:
containsAllin interfaceIntIterable
-
select
- Specified by:
selectin interfaceIntIterable- Specified by:
selectin interfaceLazyIntIterable
-
reject
- Specified by:
rejectin interfaceIntIterable- Specified by:
rejectin interfaceLazyIntIterable
-
tap
- Specified by:
tapin interfaceIntIterable- Specified by:
tapin interfaceLazyIntIterable
-
collect
- Specified by:
collectin interfaceIntIterable- Specified by:
collectin interfaceLazyIntIterable
-
flatCollect
- Specified by:
flatCollectin interfaceLazyIntIterable
-
collectBoolean
- Specified by:
collectBooleanin interfaceLazyIntIterable- Since:
- 7.0
-
collectByte
- Specified by:
collectBytein interfaceLazyIntIterable- Since:
- 7.0
-
collectChar
- Specified by:
collectCharin interfaceLazyIntIterable- Since:
- 7.0
-
collectShort
- Specified by:
collectShortin interfaceLazyIntIterable- Since:
- 7.0
-
collectInt
- Specified by:
collectIntin interfaceLazyIntIterable- Since:
- 7.0
-
collectFloat
- Specified by:
collectFloatin interfaceLazyIntIterable- Since:
- 7.0
-
collectLong
- Specified by:
collectLongin interfaceLazyIntIterable- Since:
- 7.0
-
collectDouble
- Specified by:
collectDoublein interfaceLazyIntIterable- Since:
- 7.0
-
detectIfNone
- Specified by:
detectIfNonein interfaceIntIterable
-
count
- Specified by:
countin interfaceIntIterable
-
anySatisfy
- Specified by:
anySatisfyin interfaceIntIterable
-
allSatisfy
- Specified by:
allSatisfyin interfaceIntIterable
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceIntIterable
-
injectInto
- Specified by:
injectIntoin interfaceIntIterable
-
chunk
- Specified by:
chunkin interfaceIntIterable
-
toArray
public int[] toArray()- Specified by:
toArrayin interfaceIntIterable
-
toList
- Specified by:
toListin interfaceIntIterable
-
toSet
- Specified by:
toSetin interfaceIntIterable
-
toBag
- Specified by:
toBagin interfaceIntIterable
-
sum
public long sum()- Specified by:
sumin interfaceIntIterable
-
max
public int max()- Specified by:
maxin interfaceIntIterable
-
maxIfEmpty
public int maxIfEmpty(int ifEmpty) - Specified by:
maxIfEmptyin interfaceIntIterable
-
min
public int min()- Specified by:
minin interfaceIntIterable
-
minIfEmpty
public int minIfEmpty(int ifEmpty) - Specified by:
minIfEmptyin interfaceIntIterable
-
average
public double average()- Specified by:
averagein interfaceIntIterable
-
median
public double median()- Specified by:
medianin interfaceIntIterable
-
toSortedArray
public int[] toSortedArray()- Specified by:
toSortedArrayin interfaceIntIterable
-
toSortedList
- Specified by:
toSortedListin interfaceIntIterable
-
asLazy
- Specified by:
asLazyin interfaceIntIterable
-