Class CollectLongIterable<T>
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.primitive.AbstractLazyLongIterable
-
- org.eclipse.collections.impl.lazy.primitive.CollectLongIterable<T>
-
- All Implemented Interfaces:
LazyLongIterable,LongIterable,PrimitiveIterable
public class CollectLongIterable<T> extends AbstractLazyLongIterable
This file was automatically generated from template file collectPrimitiveIterable.stg.
-
-
Constructor Summary
Constructors Constructor Description CollectLongIterable(LazyIterable<T> adapted, LongFunction<? super T> function)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallSatisfy(LongPredicate predicate)booleananySatisfy(LongPredicate predicate)booleancontainsAll(long... source)booleancontainsAll(LongIterable source)intcount(LongPredicate predicate)voideach(LongProcedure procedure)booleanisEmpty()LongIteratorlongIterator()booleannotEmpty()intsize()long[]toArray()MutableLongBagtoBag()MutableLongListtoList()MutableLongSettoSet()long[]toSortedArray()-
Methods inherited from class org.eclipse.collections.impl.lazy.primitive.AbstractLazyLongIterable
appendString, appendString, appendString, asLazy, average, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, detectIfNone, flatCollect, injectInto, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, tap, toSortedList, toString
-
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, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toArray, toSortedList, toSortedListBy, toSortedListBy
-
-
-
-
Constructor Detail
-
CollectLongIterable
public CollectLongIterable(LazyIterable<T> adapted, LongFunction<? super T> function)
-
-
Method Detail
-
longIterator
public LongIterator longIterator()
-
each
public void each(LongProcedure procedure)
- Since:
- 7.0.
-
size
public int size()
- Specified by:
sizein interfacePrimitiveIterable- Overrides:
sizein classAbstractLazyLongIterable
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfacePrimitiveIterable- Overrides:
isEmptyin classAbstractLazyLongIterable
-
notEmpty
public boolean notEmpty()
- Specified by:
notEmptyin interfacePrimitiveIterable- Overrides:
notEmptyin classAbstractLazyLongIterable
-
count
public int count(LongPredicate predicate)
- Specified by:
countin interfaceLongIterable- Overrides:
countin classAbstractLazyLongIterable
-
anySatisfy
public boolean anySatisfy(LongPredicate predicate)
- Specified by:
anySatisfyin interfaceLongIterable- Overrides:
anySatisfyin classAbstractLazyLongIterable
-
allSatisfy
public boolean allSatisfy(LongPredicate predicate)
- Specified by:
allSatisfyin interfaceLongIterable- Overrides:
allSatisfyin classAbstractLazyLongIterable
-
toArray
public long[] toArray()
- Specified by:
toArrayin interfaceLongIterable- Overrides:
toArrayin classAbstractLazyLongIterable
-
toSortedArray
public long[] toSortedArray()
- Specified by:
toSortedArrayin interfaceLongIterable- Overrides:
toSortedArrayin classAbstractLazyLongIterable
-
toList
public MutableLongList toList()
- Specified by:
toListin interfaceLongIterable- Overrides:
toListin classAbstractLazyLongIterable
-
toSet
public MutableLongSet toSet()
- Specified by:
toSetin interfaceLongIterable- Overrides:
toSetin classAbstractLazyLongIterable
-
toBag
public MutableLongBag toBag()
- Specified by:
toBagin interfaceLongIterable- Overrides:
toBagin classAbstractLazyLongIterable
-
containsAll
public boolean containsAll(long... source)
- Specified by:
containsAllin interfaceLongIterable- Overrides:
containsAllin classAbstractLazyLongIterable
-
containsAll
public boolean containsAll(LongIterable source)
- Specified by:
containsAllin interfaceLongIterable- Overrides:
containsAllin classAbstractLazyLongIterable
-
-