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
public abstract class AbstractLazyIntIterable extends Object implements LazyIntIterable
This file was automatically generated from template file abstractLazyPrimitiveIterable.stg.- Since:
- 5.0
-
-
Constructor Summary
Constructors Constructor Description AbstractLazyIntIterable()
-
Method Summary
-
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, each, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, intIterator, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toArray, toSortedList, toSortedListBy, toSortedListBy
-
-
-
-
Method Detail
-
size
public int size()
- Specified by:
sizein interfacePrimitiveIterable
-
toString
public String 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
public String makeString()
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
public String makeString(String separator)
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
public String makeString(String start, String separator, String end)
- Specified by:
makeStringin interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable)
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable, String separator)
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable, String start, String separator, String end)
- 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
public boolean containsAll(IntIterable source)
- Specified by:
containsAllin interfaceIntIterable
-
select
public LazyIntIterable select(IntPredicate predicate)
- Specified by:
selectin interfaceIntIterable- Specified by:
selectin interfaceLazyIntIterable
-
reject
public LazyIntIterable reject(IntPredicate predicate)
- Specified by:
rejectin interfaceIntIterable- Specified by:
rejectin interfaceLazyIntIterable
-
tap
public LazyIntIterable tap(IntProcedure procedure)
- Specified by:
tapin interfaceIntIterable- Specified by:
tapin interfaceLazyIntIterable
-
collect
public <V> LazyIterable<V> collect(IntToObjectFunction<? extends V> function)
- Specified by:
collectin interfaceIntIterable- Specified by:
collectin interfaceLazyIntIterable
-
flatCollect
public <V> LazyIterable<V> flatCollect(IntToObjectFunction<? extends Iterable<V>> function)
- Specified by:
flatCollectin interfaceLazyIntIterable
-
collectBoolean
public LazyBooleanIterable collectBoolean(IntToBooleanFunction function)
- Specified by:
collectBooleanin interfaceLazyIntIterable- Since:
- 7.0
-
collectByte
public LazyByteIterable collectByte(IntToByteFunction function)
- Specified by:
collectBytein interfaceLazyIntIterable- Since:
- 7.0
-
collectChar
public LazyCharIterable collectChar(IntToCharFunction function)
- Specified by:
collectCharin interfaceLazyIntIterable- Since:
- 7.0
-
collectShort
public LazyShortIterable collectShort(IntToShortFunction function)
- Specified by:
collectShortin interfaceLazyIntIterable- Since:
- 7.0
-
collectInt
public LazyIntIterable collectInt(IntToIntFunction function)
- Specified by:
collectIntin interfaceLazyIntIterable- Since:
- 7.0
-
collectFloat
public LazyFloatIterable collectFloat(IntToFloatFunction function)
- Specified by:
collectFloatin interfaceLazyIntIterable- Since:
- 7.0
-
collectLong
public LazyLongIterable collectLong(IntToLongFunction function)
- Specified by:
collectLongin interfaceLazyIntIterable- Since:
- 7.0
-
collectDouble
public LazyDoubleIterable collectDouble(IntToDoubleFunction function)
- Specified by:
collectDoublein interfaceLazyIntIterable- Since:
- 7.0
-
detectIfNone
public int detectIfNone(IntPredicate predicate, int ifNone)
- Specified by:
detectIfNonein interfaceIntIterable
-
count
public int count(IntPredicate predicate)
- Specified by:
countin interfaceIntIterable
-
anySatisfy
public boolean anySatisfy(IntPredicate predicate)
- Specified by:
anySatisfyin interfaceIntIterable
-
allSatisfy
public boolean allSatisfy(IntPredicate predicate)
- Specified by:
allSatisfyin interfaceIntIterable
-
noneSatisfy
public boolean noneSatisfy(IntPredicate predicate)
- Specified by:
noneSatisfyin interfaceIntIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectIntToObjectFunction<? super T,? extends T> function)- Specified by:
injectIntoin interfaceIntIterable
-
chunk
public RichIterable<IntIterable> chunk(int size)
- Specified by:
chunkin interfaceIntIterable
-
toArray
public int[] toArray()
- Specified by:
toArrayin interfaceIntIterable
-
toList
public MutableIntList toList()
- Specified by:
toListin interfaceIntIterable
-
toSet
public MutableIntSet toSet()
- Specified by:
toSetin interfaceIntIterable
-
toBag
public MutableIntBag 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
public MutableIntList toSortedList()
- Specified by:
toSortedListin interfaceIntIterable
-
asLazy
public LazyIntIterable asLazy()
- Specified by:
asLazyin interfaceIntIterable
-
-