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:
size
in interfacePrimitiveIterable
-
toString
public String toString()
- Specified by:
toString
in interfacePrimitiveIterable
- Overrides:
toString
in classObject
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()
- Specified by:
notEmpty
in interfacePrimitiveIterable
-
makeString
public String makeString()
- Specified by:
makeString
in interfacePrimitiveIterable
-
makeString
public String makeString(String separator)
- Specified by:
makeString
in interfacePrimitiveIterable
-
makeString
public String makeString(String start, String separator, String end)
- Specified by:
makeString
in interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable)
- Specified by:
appendString
in interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable, String separator)
- Specified by:
appendString
in interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable, String start, String separator, String end)
- Specified by:
appendString
in interfacePrimitiveIterable
-
contains
public boolean contains(int value)
- Specified by:
contains
in interfaceIntIterable
-
containsAll
public boolean containsAll(int... source)
- Specified by:
containsAll
in interfaceIntIterable
-
containsAll
public boolean containsAll(IntIterable source)
- Specified by:
containsAll
in interfaceIntIterable
-
select
public LazyIntIterable select(IntPredicate predicate)
- Specified by:
select
in interfaceIntIterable
- Specified by:
select
in interfaceLazyIntIterable
-
reject
public LazyIntIterable reject(IntPredicate predicate)
- Specified by:
reject
in interfaceIntIterable
- Specified by:
reject
in interfaceLazyIntIterable
-
tap
public LazyIntIterable tap(IntProcedure procedure)
- Specified by:
tap
in interfaceIntIterable
- Specified by:
tap
in interfaceLazyIntIterable
-
collect
public <V> LazyIterable<V> collect(IntToObjectFunction<? extends V> function)
- Specified by:
collect
in interfaceIntIterable
- Specified by:
collect
in interfaceLazyIntIterable
-
flatCollect
public <V> LazyIterable<V> flatCollect(IntToObjectFunction<? extends Iterable<V>> function)
- Specified by:
flatCollect
in interfaceLazyIntIterable
-
collectBoolean
public LazyBooleanIterable collectBoolean(IntToBooleanFunction function)
- Specified by:
collectBoolean
in interfaceLazyIntIterable
- Since:
- 7.0
-
collectByte
public LazyByteIterable collectByte(IntToByteFunction function)
- Specified by:
collectByte
in interfaceLazyIntIterable
- Since:
- 7.0
-
collectChar
public LazyCharIterable collectChar(IntToCharFunction function)
- Specified by:
collectChar
in interfaceLazyIntIterable
- Since:
- 7.0
-
collectShort
public LazyShortIterable collectShort(IntToShortFunction function)
- Specified by:
collectShort
in interfaceLazyIntIterable
- Since:
- 7.0
-
collectInt
public LazyIntIterable collectInt(IntToIntFunction function)
- Specified by:
collectInt
in interfaceLazyIntIterable
- Since:
- 7.0
-
collectFloat
public LazyFloatIterable collectFloat(IntToFloatFunction function)
- Specified by:
collectFloat
in interfaceLazyIntIterable
- Since:
- 7.0
-
collectLong
public LazyLongIterable collectLong(IntToLongFunction function)
- Specified by:
collectLong
in interfaceLazyIntIterable
- Since:
- 7.0
-
collectDouble
public LazyDoubleIterable collectDouble(IntToDoubleFunction function)
- Specified by:
collectDouble
in interfaceLazyIntIterable
- Since:
- 7.0
-
detectIfNone
public int detectIfNone(IntPredicate predicate, int ifNone)
- Specified by:
detectIfNone
in interfaceIntIterable
-
count
public int count(IntPredicate predicate)
- Specified by:
count
in interfaceIntIterable
-
anySatisfy
public boolean anySatisfy(IntPredicate predicate)
- Specified by:
anySatisfy
in interfaceIntIterable
-
allSatisfy
public boolean allSatisfy(IntPredicate predicate)
- Specified by:
allSatisfy
in interfaceIntIterable
-
noneSatisfy
public boolean noneSatisfy(IntPredicate predicate)
- Specified by:
noneSatisfy
in interfaceIntIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectIntToObjectFunction<? super T,? extends T> function)
- Specified by:
injectInto
in interfaceIntIterable
-
chunk
public RichIterable<IntIterable> chunk(int size)
- Specified by:
chunk
in interfaceIntIterable
-
toArray
public int[] toArray()
- Specified by:
toArray
in interfaceIntIterable
-
toList
public MutableIntList toList()
- Specified by:
toList
in interfaceIntIterable
-
toSet
public MutableIntSet toSet()
- Specified by:
toSet
in interfaceIntIterable
-
toBag
public MutableIntBag toBag()
- Specified by:
toBag
in interfaceIntIterable
-
sum
public long sum()
- Specified by:
sum
in interfaceIntIterable
-
max
public int max()
- Specified by:
max
in interfaceIntIterable
-
maxIfEmpty
public int maxIfEmpty(int ifEmpty)
- Specified by:
maxIfEmpty
in interfaceIntIterable
-
min
public int min()
- Specified by:
min
in interfaceIntIterable
-
minIfEmpty
public int minIfEmpty(int ifEmpty)
- Specified by:
minIfEmpty
in interfaceIntIterable
-
average
public double average()
- Specified by:
average
in interfaceIntIterable
-
median
public double median()
- Specified by:
median
in interfaceIntIterable
-
toSortedArray
public int[] toSortedArray()
- Specified by:
toSortedArray
in interfaceIntIterable
-
toSortedList
public MutableIntList toSortedList()
- Specified by:
toSortedList
in interfaceIntIterable
-
asLazy
public LazyIntIterable asLazy()
- Specified by:
asLazy
in interfaceIntIterable
-
-