All Implemented Interfaces:
DoubleConsumer

  • Constructor Summary

    Constructors

    Constructs an empty instance with zero count, zero sum, Double.POSITIVE_INFINITY min, Double.NEGATIVE_INFINITY max and zero average.

    DoubleSummaryStatistics(long count, double min, double max, double sum)

    Constructs a non-empty instance with the specified count, min, max, and sum.

  • Method Summary

    void

    accept(double value)

    Records another value into the summary information.

    void

    Combines the state of another DoubleSummaryStatistics into this one.

    final double

    Returns the arithmetic mean of values recorded, or zero if no values have been recorded.

    final long

    getCount()

    Return the count of values recorded.

    final double

    getMax()

    Returns the maximum recorded value, Double.NaN if any recorded value was NaN or Double.NEGATIVE_INFINITY if no values were recorded.

    final double

    getMin()

    Returns the minimum recorded value, Double.NaN if any recorded value was NaN or Double.POSITIVE_INFINITY if no values were recorded.

    final double

    getSum()

    Returns the sum of values recorded, or zero if no values have been recorded.

    toString()

    Returns a non-empty string representation of this object suitable for debugging.

    Methods declared in class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Creates and returns a copy of this object.

    boolean

    Indicates whether some other object is "equal to" this one.

    protected void

    Deprecated, for removal: This API element is subject to removal in a future version.

    Returns the runtime class of this Object.

    int

    Returns a hash code value for this object.

    final void

    Wakes up a single thread that is waiting on this object's monitor.

    final void

    Wakes up all threads that are waiting on this object's monitor.

    final void

    Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

    final void

    wait(long timeoutMillis)

    Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

    final void

    wait(long timeoutMillis, int nanos)

    Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

    Methods declared in interface DoubleConsumer

    andThen

    Returns a composed DoubleConsumer that performs, in sequence, this operation followed by the after operation.

  • Constructor Details

    • DoubleSummaryStatistics

    • DoubleSummaryStatistics

  • Method Details

    • accept

    • combine

    • getCount

    • getSum

    • getMin

    • getMax

    • getAverage

    • toString