public abstract class AbstractLongIterable extends Object implements LongIterable
Constructor and Description |
---|
AbstractLongIterable() |
Modifier and Type | Method and Description |
---|---|
LazyLongIterable |
asLazy() |
double |
average() |
boolean |
containsAll(long... source) |
boolean |
containsAll(LongIterable source) |
long |
maxIfEmpty(long defaultValue) |
double |
median() |
long |
minIfEmpty(long defaultValue) |
MutableLongBag |
toBag() |
MutableLongList |
toList() |
MutableLongSet |
toSet() |
long[] |
toSortedArray() |
MutableLongList |
toSortedList() |
String |
toString()
Returns a string representation of this PrimitiveIterable.
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
allSatisfy, anySatisfy, collect, contains, count, detectIfNone, each, forEach, injectInto, longIterator, max, min, noneSatisfy, reject, select, sum, summaryStatistics, toArray
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
public String toString()
PrimitiveIterable
toString
in interface PrimitiveIterable
toString
in class Object
public long minIfEmpty(long defaultValue)
minIfEmpty
in interface LongIterable
public long maxIfEmpty(long defaultValue)
maxIfEmpty
in interface LongIterable
public double average()
average
in interface LongIterable
public double median()
median
in interface LongIterable
public long[] toSortedArray()
toSortedArray
in interface LongIterable
public MutableLongList toSortedList()
toSortedList
in interface LongIterable
public LazyLongIterable asLazy()
asLazy
in interface LongIterable
public MutableLongList toList()
toList
in interface LongIterable
public MutableLongSet toSet()
toSet
in interface LongIterable
public MutableLongBag toBag()
toBag
in interface LongIterable
public boolean containsAll(long... source)
containsAll
in interface LongIterable
public boolean containsAll(LongIterable source)
containsAll
in interface LongIterable
Copyright © 2004–2016. All rights reserved.