public class ReverseLongIterable extends AbstractLazyLongIterable
ReverseIterable| Constructor and Description |
|---|
ReverseLongIterable(LongList newAdapted) |
| Modifier and Type | Method and Description |
|---|---|
static ReverseLongIterable |
adapt(LongList longList) |
LazyLongIterable |
asLazy() |
double |
average() |
boolean |
contains(long value) |
boolean |
containsAll(long... source) |
boolean |
containsAll(LongIterable source) |
void |
each(LongProcedure procedure) |
boolean |
isEmpty() |
LongIterator |
longIterator() |
long |
max() |
long |
maxIfEmpty(long defaultValue) |
double |
median() |
long |
min() |
long |
minIfEmpty(long defaultValue) |
boolean |
notEmpty() |
int |
size() |
long |
sum() |
long[] |
toArray() |
MutableLongBag |
toBag() |
MutableLongList |
toList() |
MutableLongSet |
toSet() |
long[] |
toSortedArray() |
allSatisfy, anySatisfy, appendString, appendString, appendString, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, count, detectIfNone, flatCollect, injectInto, makeString, makeString, makeString, noneSatisfy, reject, select, 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 ReverseLongIterable(LongList newAdapted)
public static ReverseLongIterable adapt(LongList longList)
public LongIterator longIterator()
public void each(LongProcedure procedure)
public long sum()
sum in interface LongIterablesum in class AbstractLazyLongIterablepublic long max()
max in interface LongIterablemax in class AbstractLazyLongIterablepublic long min()
min in interface LongIterablemin in class AbstractLazyLongIterablepublic long minIfEmpty(long defaultValue)
minIfEmpty in interface LongIterableminIfEmpty in class AbstractLazyLongIterablepublic long maxIfEmpty(long defaultValue)
maxIfEmpty in interface LongIterablemaxIfEmpty in class AbstractLazyLongIterablepublic double average()
average in interface LongIterableaverage in class AbstractLazyLongIterablepublic double median()
median in interface LongIterablemedian in class AbstractLazyLongIterablepublic long[] toSortedArray()
toSortedArray in interface LongIterabletoSortedArray in class AbstractLazyLongIterablepublic long[] toArray()
toArray in interface LongIterabletoArray in class AbstractLazyLongIterablepublic boolean contains(long value)
contains in interface LongIterablecontains in class AbstractLazyLongIterablepublic boolean containsAll(long... source)
containsAll in interface LongIterablecontainsAll in class AbstractLazyLongIterablepublic boolean containsAll(LongIterable source)
containsAll in interface LongIterablecontainsAll in class AbstractLazyLongIterablepublic 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 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 LazyLongIterable asLazy()
asLazy in interface LongIterableasLazy in class AbstractLazyLongIterableCopyright © 2004–2022. All rights reserved.