Class AbstractLazyLongIterable
java.lang.Object
org.eclipse.collections.impl.lazy.primitive.AbstractLazyLongIterable
- All Implemented Interfaces:
LazyLongIterable,LongIterable,PrimitiveIterable
- Direct Known Subclasses:
CollectBooleanToLongIterable,CollectByteToLongIterable,CollectCharToLongIterable,CollectDoubleToLongIterable,CollectFloatToLongIterable,CollectIntToLongIterable,CollectLongIterable,CollectLongToLongIterable,CollectShortToLongIterable,LazyLongIterableAdapter,ReverseLongIterable,SelectLongIterable,TapLongIterable
This file was automatically generated from template file abstractLazyPrimitiveIterable.stg.
- Since:
- 5.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallSatisfy(LongPredicate predicate) booleananySatisfy(LongPredicate 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(LongToObjectFunction<? extends V> function) collectBoolean(LongToBooleanFunction function) collectByte(LongToByteFunction function) collectChar(LongToCharFunction function) collectDouble(LongToDoubleFunction function) collectFloat(LongToFloatFunction function) collectInt(LongToIntFunction function) collectLong(LongToLongFunction function) collectShort(LongToShortFunction function) booleancontains(long value) booleancontainsAll(long... source) booleancontainsAll(LongIterable source) intcount(LongPredicate predicate) longdetectIfNone(LongPredicate predicate, long ifNone) <V> LazyIterable<V>flatCollect(LongToObjectFunction<? extends Iterable<V>> function) <T> TinjectInto(T injectedValue, ObjectLongToObjectFunction<? super T, ? extends T> function) booleanisEmpty()makeString(String separator) makeString(String start, String separator, String end) longmax()longmaxIfEmpty(long ifEmpty) doublemedian()longmin()longminIfEmpty(long ifEmpty) booleannoneSatisfy(LongPredicate predicate) booleannotEmpty()reject(LongPredicate predicate) select(LongPredicate predicate) intsize()longsum()tap(LongProcedure procedure) long[]toArray()toBag()toList()toSet()long[]toString()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.collections.api.LongIterable
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, longIterator, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toArray, toSortedList, toSortedListBy, toSortedListBy
-
Constructor Details
-
AbstractLazyLongIterable
public AbstractLazyLongIterable()
-
-
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(long value) - Specified by:
containsin interfaceLongIterable
-
containsAll
public boolean containsAll(long... source) - Specified by:
containsAllin interfaceLongIterable
-
containsAll
- Specified by:
containsAllin interfaceLongIterable
-
select
- Specified by:
selectin interfaceLazyLongIterable- Specified by:
selectin interfaceLongIterable
-
reject
- Specified by:
rejectin interfaceLazyLongIterable- Specified by:
rejectin interfaceLongIterable
-
tap
- Specified by:
tapin interfaceLazyLongIterable- Specified by:
tapin interfaceLongIterable
-
collect
- Specified by:
collectin interfaceLazyLongIterable- Specified by:
collectin interfaceLongIterable
-
flatCollect
- Specified by:
flatCollectin interfaceLazyLongIterable
-
collectBoolean
- Specified by:
collectBooleanin interfaceLazyLongIterable- Since:
- 7.0
-
collectByte
- Specified by:
collectBytein interfaceLazyLongIterable- Since:
- 7.0
-
collectChar
- Specified by:
collectCharin interfaceLazyLongIterable- Since:
- 7.0
-
collectShort
- Specified by:
collectShortin interfaceLazyLongIterable- Since:
- 7.0
-
collectInt
- Specified by:
collectIntin interfaceLazyLongIterable- Since:
- 7.0
-
collectFloat
- Specified by:
collectFloatin interfaceLazyLongIterable- Since:
- 7.0
-
collectLong
- Specified by:
collectLongin interfaceLazyLongIterable- Since:
- 7.0
-
collectDouble
- Specified by:
collectDoublein interfaceLazyLongIterable- Since:
- 7.0
-
detectIfNone
- Specified by:
detectIfNonein interfaceLongIterable
-
count
- Specified by:
countin interfaceLongIterable
-
anySatisfy
- Specified by:
anySatisfyin interfaceLongIterable
-
allSatisfy
- Specified by:
allSatisfyin interfaceLongIterable
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceLongIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectLongToObjectFunction<? super T, ? extends T> function) - Specified by:
injectIntoin interfaceLongIterable
-
chunk
- Specified by:
chunkin interfaceLongIterable
-
toArray
public long[] toArray()- Specified by:
toArrayin interfaceLongIterable
-
toList
- Specified by:
toListin interfaceLongIterable
-
toSet
- Specified by:
toSetin interfaceLongIterable
-
toBag
- Specified by:
toBagin interfaceLongIterable
-
sum
public long sum()- Specified by:
sumin interfaceLongIterable
-
max
public long max()- Specified by:
maxin interfaceLongIterable
-
maxIfEmpty
public long maxIfEmpty(long ifEmpty) - Specified by:
maxIfEmptyin interfaceLongIterable
-
min
public long min()- Specified by:
minin interfaceLongIterable
-
minIfEmpty
public long minIfEmpty(long ifEmpty) - Specified by:
minIfEmptyin interfaceLongIterable
-
average
public double average()- Specified by:
averagein interfaceLongIterable
-
median
public double median()- Specified by:
medianin interfaceLongIterable
-
toSortedArray
public long[] toSortedArray()- Specified by:
toSortedArrayin interfaceLongIterable
-
toSortedList
- Specified by:
toSortedListin interfaceLongIterable
-
asLazy
- Specified by:
asLazyin interfaceLongIterable
-