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:
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(long value)
- Specified by:
contains
in interfaceLongIterable
-
containsAll
public boolean containsAll(long... source)
- Specified by:
containsAll
in interfaceLongIterable
-
containsAll
public boolean containsAll(LongIterable source)
- Specified by:
containsAll
in interfaceLongIterable
-
select
public LazyLongIterable select(LongPredicate predicate)
- Specified by:
select
in interfaceLazyLongIterable
- Specified by:
select
in interfaceLongIterable
-
reject
public LazyLongIterable reject(LongPredicate predicate)
- Specified by:
reject
in interfaceLazyLongIterable
- Specified by:
reject
in interfaceLongIterable
-
tap
public LazyLongIterable tap(LongProcedure procedure)
- Specified by:
tap
in interfaceLazyLongIterable
- Specified by:
tap
in interfaceLongIterable
-
collect
public <V> LazyIterable<V> collect(LongToObjectFunction<? extends V> function)
- Specified by:
collect
in interfaceLazyLongIterable
- Specified by:
collect
in interfaceLongIterable
-
flatCollect
public <V> LazyIterable<V> flatCollect(LongToObjectFunction<? extends Iterable<V>> function)
- Specified by:
flatCollect
in interfaceLazyLongIterable
-
collectBoolean
public LazyBooleanIterable collectBoolean(LongToBooleanFunction function)
- Specified by:
collectBoolean
in interfaceLazyLongIterable
- Since:
- 7.0
-
collectByte
public LazyByteIterable collectByte(LongToByteFunction function)
- Specified by:
collectByte
in interfaceLazyLongIterable
- Since:
- 7.0
-
collectChar
public LazyCharIterable collectChar(LongToCharFunction function)
- Specified by:
collectChar
in interfaceLazyLongIterable
- Since:
- 7.0
-
collectShort
public LazyShortIterable collectShort(LongToShortFunction function)
- Specified by:
collectShort
in interfaceLazyLongIterable
- Since:
- 7.0
-
collectInt
public LazyIntIterable collectInt(LongToIntFunction function)
- Specified by:
collectInt
in interfaceLazyLongIterable
- Since:
- 7.0
-
collectFloat
public LazyFloatIterable collectFloat(LongToFloatFunction function)
- Specified by:
collectFloat
in interfaceLazyLongIterable
- Since:
- 7.0
-
collectLong
public LazyLongIterable collectLong(LongToLongFunction function)
- Specified by:
collectLong
in interfaceLazyLongIterable
- Since:
- 7.0
-
collectDouble
public LazyDoubleIterable collectDouble(LongToDoubleFunction function)
- Specified by:
collectDouble
in interfaceLazyLongIterable
- Since:
- 7.0
-
detectIfNone
public long detectIfNone(LongPredicate predicate, long ifNone)
- Specified by:
detectIfNone
in interfaceLongIterable
-
count
public int count(LongPredicate predicate)
- Specified by:
count
in interfaceLongIterable
-
anySatisfy
public boolean anySatisfy(LongPredicate predicate)
- Specified by:
anySatisfy
in interfaceLongIterable
-
allSatisfy
public boolean allSatisfy(LongPredicate predicate)
- Specified by:
allSatisfy
in interfaceLongIterable
-
noneSatisfy
public boolean noneSatisfy(LongPredicate predicate)
- Specified by:
noneSatisfy
in interfaceLongIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectLongToObjectFunction<? super T,? extends T> function)
- Specified by:
injectInto
in interfaceLongIterable
-
chunk
public RichIterable<LongIterable> chunk(int size)
- Specified by:
chunk
in interfaceLongIterable
-
toArray
public long[] toArray()
- Specified by:
toArray
in interfaceLongIterable
-
toList
public MutableLongList toList()
- Specified by:
toList
in interfaceLongIterable
-
toSet
public MutableLongSet toSet()
- Specified by:
toSet
in interfaceLongIterable
-
toBag
public MutableLongBag toBag()
- Specified by:
toBag
in interfaceLongIterable
-
sum
public long sum()
- Specified by:
sum
in interfaceLongIterable
-
max
public long max()
- Specified by:
max
in interfaceLongIterable
-
maxIfEmpty
public long maxIfEmpty(long ifEmpty)
- Specified by:
maxIfEmpty
in interfaceLongIterable
-
min
public long min()
- Specified by:
min
in interfaceLongIterable
-
minIfEmpty
public long minIfEmpty(long ifEmpty)
- Specified by:
minIfEmpty
in interfaceLongIterable
-
average
public double average()
- Specified by:
average
in interfaceLongIterable
-
median
public double median()
- Specified by:
median
in interfaceLongIterable
-
toSortedArray
public long[] toSortedArray()
- Specified by:
toSortedArray
in interfaceLongIterable
-
toSortedList
public MutableLongList toSortedList()
- Specified by:
toSortedList
in interfaceLongIterable
-
asLazy
public LazyLongIterable asLazy()
- Specified by:
asLazy
in interfaceLongIterable
-
-