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
public abstract class AbstractLazyLongIterable extends Object implements LazyLongIterable
This file was automatically generated from template file abstractLazyPrimitiveIterable.stg.- Since:
- 5.0
-
-
Constructor Summary
Constructors Constructor Description AbstractLazyLongIterable()
-
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.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
-
-
-
-
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(long value)
- Specified by:
containsin interfaceLongIterable
-
containsAll
public boolean containsAll(long... source)
- Specified by:
containsAllin interfaceLongIterable
-
containsAll
public boolean containsAll(LongIterable source)
- Specified by:
containsAllin interfaceLongIterable
-
select
public LazyLongIterable select(LongPredicate predicate)
- Specified by:
selectin interfaceLazyLongIterable- Specified by:
selectin interfaceLongIterable
-
reject
public LazyLongIterable reject(LongPredicate predicate)
- Specified by:
rejectin interfaceLazyLongIterable- Specified by:
rejectin interfaceLongIterable
-
tap
public LazyLongIterable tap(LongProcedure procedure)
- Specified by:
tapin interfaceLazyLongIterable- Specified by:
tapin interfaceLongIterable
-
collect
public <V> LazyIterable<V> collect(LongToObjectFunction<? extends V> function)
- Specified by:
collectin interfaceLazyLongIterable- Specified by:
collectin interfaceLongIterable
-
flatCollect
public <V> LazyIterable<V> flatCollect(LongToObjectFunction<? extends Iterable<V>> function)
- Specified by:
flatCollectin interfaceLazyLongIterable
-
collectBoolean
public LazyBooleanIterable collectBoolean(LongToBooleanFunction function)
- Specified by:
collectBooleanin interfaceLazyLongIterable- Since:
- 7.0
-
collectByte
public LazyByteIterable collectByte(LongToByteFunction function)
- Specified by:
collectBytein interfaceLazyLongIterable- Since:
- 7.0
-
collectChar
public LazyCharIterable collectChar(LongToCharFunction function)
- Specified by:
collectCharin interfaceLazyLongIterable- Since:
- 7.0
-
collectShort
public LazyShortIterable collectShort(LongToShortFunction function)
- Specified by:
collectShortin interfaceLazyLongIterable- Since:
- 7.0
-
collectInt
public LazyIntIterable collectInt(LongToIntFunction function)
- Specified by:
collectIntin interfaceLazyLongIterable- Since:
- 7.0
-
collectFloat
public LazyFloatIterable collectFloat(LongToFloatFunction function)
- Specified by:
collectFloatin interfaceLazyLongIterable- Since:
- 7.0
-
collectLong
public LazyLongIterable collectLong(LongToLongFunction function)
- Specified by:
collectLongin interfaceLazyLongIterable- Since:
- 7.0
-
collectDouble
public LazyDoubleIterable collectDouble(LongToDoubleFunction function)
- Specified by:
collectDoublein interfaceLazyLongIterable- Since:
- 7.0
-
detectIfNone
public long detectIfNone(LongPredicate predicate, long ifNone)
- Specified by:
detectIfNonein interfaceLongIterable
-
count
public int count(LongPredicate predicate)
- Specified by:
countin interfaceLongIterable
-
anySatisfy
public boolean anySatisfy(LongPredicate predicate)
- Specified by:
anySatisfyin interfaceLongIterable
-
allSatisfy
public boolean allSatisfy(LongPredicate predicate)
- Specified by:
allSatisfyin interfaceLongIterable
-
noneSatisfy
public boolean noneSatisfy(LongPredicate predicate)
- Specified by:
noneSatisfyin interfaceLongIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectLongToObjectFunction<? super T,? extends T> function)- Specified by:
injectIntoin interfaceLongIterable
-
chunk
public RichIterable<LongIterable> chunk(int size)
- Specified by:
chunkin interfaceLongIterable
-
toArray
public long[] toArray()
- Specified by:
toArrayin interfaceLongIterable
-
toList
public MutableLongList toList()
- Specified by:
toListin interfaceLongIterable
-
toSet
public MutableLongSet toSet()
- Specified by:
toSetin interfaceLongIterable
-
toBag
public MutableLongBag 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
public MutableLongList toSortedList()
- Specified by:
toSortedListin interfaceLongIterable
-
asLazy
public LazyLongIterable asLazy()
- Specified by:
asLazyin interfaceLongIterable
-
-