public class CollectLongIterable<T> extends AbstractLazyLongIterable
| Constructor and Description |
|---|
CollectLongIterable(LazyIterable<T> adapted,
LongFunction<? super T> function) |
| Modifier and Type | Method and 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() |
long[] |
toSortedArray() |
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, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaverageIfEmpty, 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, toSortedListBypublic CollectLongIterable(LazyIterable<T> adapted, LongFunction<? super T> function)
public LongIterator longIterator()
public void each(LongProcedure procedure)
public int size()
size in interface PrimitiveIterablesize in class AbstractLazyLongIterablepublic boolean isEmpty()
isEmpty in interface PrimitiveIterableisEmpty in class AbstractLazyLongIterablepublic boolean notEmpty()
notEmpty in interface PrimitiveIterablenotEmpty in class AbstractLazyLongIterablepublic int count(LongPredicate predicate)
count in interface LongIterablecount in class AbstractLazyLongIterablepublic boolean anySatisfy(LongPredicate predicate)
anySatisfy in interface LongIterableanySatisfy in class AbstractLazyLongIterablepublic boolean allSatisfy(LongPredicate predicate)
allSatisfy in interface LongIterableallSatisfy in class AbstractLazyLongIterablepublic long[] toArray()
toArray in interface LongIterabletoArray in class AbstractLazyLongIterablepublic long[] toSortedArray()
toSortedArray in interface LongIterabletoSortedArray in class AbstractLazyLongIterablepublic MutableLongList toList()
toList in interface LongIterabletoList in class AbstractLazyLongIterablepublic MutableLongSet toSet()
toSet in interface LongIterabletoSet in class AbstractLazyLongIterablepublic MutableLongBag toBag()
toBag in interface LongIterabletoBag in class AbstractLazyLongIterablepublic boolean containsAll(long... source)
containsAll in interface LongIterablecontainsAll in class AbstractLazyLongIterablepublic boolean containsAll(LongIterable source)
containsAll in interface LongIterablecontainsAll in class AbstractLazyLongIterableCopyright © 2004–2022. All rights reserved.