public class ReverseLongIterable extends AbstractLazyLongIterable
ReverseIterable| Constructor and Description |
|---|
ReverseLongIterable(org.eclipse.collections.api.list.primitive.LongList newAdapted) |
| Modifier and Type | Method and Description |
|---|---|
static ReverseLongIterable |
adapt(org.eclipse.collections.api.list.primitive.LongList longList) |
org.eclipse.collections.api.LazyLongIterable |
asLazy() |
double |
average() |
boolean |
contains(long value) |
boolean |
containsAll(long... source) |
boolean |
containsAll(org.eclipse.collections.api.LongIterable source) |
void |
each(org.eclipse.collections.api.block.procedure.primitive.LongProcedure procedure) |
boolean |
isEmpty() |
org.eclipse.collections.api.iterator.LongIterator |
longIterator() |
long |
max() |
long |
maxIfEmpty(long defaultValue) |
double |
median() |
long |
min() |
long |
minIfEmpty(long defaultValue) |
boolean |
notEmpty() |
int |
size() |
long |
sum() |
long[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableLongBag |
toBag() |
org.eclipse.collections.api.list.primitive.MutableLongList |
toList() |
org.eclipse.collections.api.set.primitive.MutableLongSet |
toSet() |
long[] |
toSortedArray() |
allSatisfy, anySatisfy, appendString, appendString, appendString, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, count, detectIfNone, forEach, injectInto, makeString, makeString, makeString, noneSatisfy, reject, select, toSortedList, toStringpublic ReverseLongIterable(org.eclipse.collections.api.list.primitive.LongList newAdapted)
public static ReverseLongIterable adapt(org.eclipse.collections.api.list.primitive.LongList longList)
public org.eclipse.collections.api.iterator.LongIterator longIterator()
public void each(org.eclipse.collections.api.block.procedure.primitive.LongProcedure procedure)
public long sum()
sum in interface org.eclipse.collections.api.LongIterablesum in class AbstractLazyLongIterablepublic long max()
max in interface org.eclipse.collections.api.LongIterablemax in class AbstractLazyLongIterablepublic long min()
min in interface org.eclipse.collections.api.LongIterablemin in class AbstractLazyLongIterablepublic long minIfEmpty(long defaultValue)
minIfEmpty in interface org.eclipse.collections.api.LongIterableminIfEmpty in class AbstractLazyLongIterablepublic long maxIfEmpty(long defaultValue)
maxIfEmpty in interface org.eclipse.collections.api.LongIterablemaxIfEmpty in class AbstractLazyLongIterablepublic double average()
average in interface org.eclipse.collections.api.LongIterableaverage in class AbstractLazyLongIterablepublic double median()
median in interface org.eclipse.collections.api.LongIterablemedian in class AbstractLazyLongIterablepublic long[] toSortedArray()
toSortedArray in interface org.eclipse.collections.api.LongIterabletoSortedArray in class AbstractLazyLongIterablepublic long[] toArray()
toArray in interface org.eclipse.collections.api.LongIterabletoArray in class AbstractLazyLongIterablepublic boolean contains(long value)
contains in interface org.eclipse.collections.api.LongIterablecontains in class AbstractLazyLongIterablepublic boolean containsAll(long... source)
containsAll in interface org.eclipse.collections.api.LongIterablecontainsAll in class AbstractLazyLongIterablepublic boolean containsAll(org.eclipse.collections.api.LongIterable source)
containsAll in interface org.eclipse.collections.api.LongIterablecontainsAll in class AbstractLazyLongIterablepublic int size()
size in interface org.eclipse.collections.api.PrimitiveIterablesize in class AbstractLazyLongIterablepublic boolean isEmpty()
isEmpty in interface org.eclipse.collections.api.PrimitiveIterableisEmpty in class AbstractLazyLongIterablepublic boolean notEmpty()
notEmpty in interface org.eclipse.collections.api.PrimitiveIterablenotEmpty in class AbstractLazyLongIterablepublic org.eclipse.collections.api.list.primitive.MutableLongList toList()
toList in interface org.eclipse.collections.api.LongIterabletoList in class AbstractLazyLongIterablepublic org.eclipse.collections.api.set.primitive.MutableLongSet toSet()
toSet in interface org.eclipse.collections.api.LongIterabletoSet in class AbstractLazyLongIterablepublic org.eclipse.collections.api.bag.primitive.MutableLongBag toBag()
toBag in interface org.eclipse.collections.api.LongIterabletoBag in class AbstractLazyLongIterablepublic org.eclipse.collections.api.LazyLongIterable asLazy()
asLazy in interface org.eclipse.collections.api.LongIterableasLazy in class AbstractLazyLongIterableCopyright © 2004–2017. All rights reserved.