public abstract class AbstractDoubleIterable extends Object implements DoubleIterable
Constructor and Description |
---|
AbstractDoubleIterable() |
Modifier and Type | Method and Description |
---|---|
LazyDoubleIterable |
asLazy() |
double |
average() |
boolean |
containsAll(double... source) |
boolean |
containsAll(DoubleIterable source) |
double |
maxIfEmpty(double defaultValue) |
double |
median() |
double |
minIfEmpty(double defaultValue) |
MutableDoubleBag |
toBag() |
MutableDoubleList |
toList() |
MutableDoubleSet |
toSet() |
double[] |
toSortedArray() |
MutableDoubleList |
toSortedList() |
String |
toString()
Returns a string representation of this PrimitiveIterable.
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
allSatisfy, anySatisfy, collect, contains, count, detectIfNone, doubleIterator, each, forEach, injectInto, 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 double minIfEmpty(double defaultValue)
minIfEmpty
in interface DoubleIterable
public double maxIfEmpty(double defaultValue)
maxIfEmpty
in interface DoubleIterable
public double average()
average
in interface DoubleIterable
public double median()
median
in interface DoubleIterable
public double[] toSortedArray()
toSortedArray
in interface DoubleIterable
public MutableDoubleList toSortedList()
toSortedList
in interface DoubleIterable
public LazyDoubleIterable asLazy()
asLazy
in interface DoubleIterable
public MutableDoubleList toList()
toList
in interface DoubleIterable
public MutableDoubleSet toSet()
toSet
in interface DoubleIterable
public MutableDoubleBag toBag()
toBag
in interface DoubleIterable
public boolean containsAll(double... source)
containsAll
in interface DoubleIterable
public boolean containsAll(DoubleIterable source)
containsAll
in interface DoubleIterable
Copyright © 2004–2016. All rights reserved.