Class SelectLongIterable
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.primitive.AbstractLazyLongIterable
-
- org.eclipse.collections.impl.lazy.primitive.SelectLongIterable
-
- All Implemented Interfaces:
LazyLongIterable
,LongIterable
,PrimitiveIterable
public class SelectLongIterable extends AbstractLazyLongIterable
This file was automatically generated from template file selectPrimitiveIterable.stg.
-
-
Constructor Summary
Constructors Constructor Description SelectLongIterable(LongIterable delegate, LongPredicate predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allSatisfy(LongPredicate predicate)
boolean
anySatisfy(LongPredicate predicate)
boolean
containsAll(long... source)
boolean
containsAll(LongIterable source)
int
count(LongPredicate predicate)
void
each(LongProcedure procedure)
boolean
isEmpty()
LongIterator
longIterator()
boolean
notEmpty()
int
size()
long[]
toArray()
MutableLongBag
toBag()
MutableLongList
toList()
MutableLongSet
toSet()
-
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, toSortedArray, 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
-
SelectLongIterable
public SelectLongIterable(LongIterable delegate, LongPredicate predicate)
-
-
Method Detail
-
longIterator
public LongIterator longIterator()
-
each
public void each(LongProcedure procedure)
- Since:
- 7.0.
-
size
public int size()
- Specified by:
size
in interfacePrimitiveIterable
- Overrides:
size
in classAbstractLazyLongIterable
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfacePrimitiveIterable
- Overrides:
isEmpty
in classAbstractLazyLongIterable
-
notEmpty
public boolean notEmpty()
- Specified by:
notEmpty
in interfacePrimitiveIterable
- Overrides:
notEmpty
in classAbstractLazyLongIterable
-
count
public int count(LongPredicate predicate)
- Specified by:
count
in interfaceLongIterable
- Overrides:
count
in classAbstractLazyLongIterable
-
anySatisfy
public boolean anySatisfy(LongPredicate predicate)
- Specified by:
anySatisfy
in interfaceLongIterable
- Overrides:
anySatisfy
in classAbstractLazyLongIterable
-
allSatisfy
public boolean allSatisfy(LongPredicate predicate)
- Specified by:
allSatisfy
in interfaceLongIterable
- Overrides:
allSatisfy
in classAbstractLazyLongIterable
-
toArray
public long[] toArray()
- Specified by:
toArray
in interfaceLongIterable
- Overrides:
toArray
in classAbstractLazyLongIterable
-
containsAll
public boolean containsAll(long... source)
- Specified by:
containsAll
in interfaceLongIterable
- Overrides:
containsAll
in classAbstractLazyLongIterable
-
containsAll
public boolean containsAll(LongIterable source)
- Specified by:
containsAll
in interfaceLongIterable
- Overrides:
containsAll
in classAbstractLazyLongIterable
-
toList
public MutableLongList toList()
- Specified by:
toList
in interfaceLongIterable
- Overrides:
toList
in classAbstractLazyLongIterable
-
toSet
public MutableLongSet toSet()
- Specified by:
toSet
in interfaceLongIterable
- Overrides:
toSet
in classAbstractLazyLongIterable
-
toBag
public MutableLongBag toBag()
- Specified by:
toBag
in interfaceLongIterable
- Overrides:
toBag
in classAbstractLazyLongIterable
-
-