public static class StatisticsWithSpan.Long extends Statistics.Long implements StatisticsWithSpan
StatisticsWithSpan.Double, StatisticsWithSpan.Long
numObservations
Constructor and Description |
---|
Long() |
Long(long minimum,
long maximum,
long first,
long sum,
long sumSq,
int numObservations,
long span) |
Modifier and Type | Method and Description |
---|---|
void |
addSpanObservation(double span) |
void |
addSpanObservation(float value) |
void |
addSpanObservation(int value) |
void |
addSpanObservation(long value) |
void |
addSpanObservation(short value) |
double |
getAverageSpan() |
double |
getMaxSpan() |
double |
getMinSpan() |
int |
getNumObservationsSpan() |
double |
getVarianceSpan() |
java.lang.String |
toHTMLString() |
addObservation, addObservation, addObservation, addObservation, addObservation, fillHTMLString, getAverage, getMaximum, getMaximumDouble, getMinimum, getMinimumDouble, getNumObservations, getVariance
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addObservation, addObservation, addObservation, addObservation, addObservation, getAverage, getMaximumDouble, getMinimumDouble, getNumObservations, getVariance
public Long(long minimum, long maximum, long first, long sum, long sumSq, int numObservations, long span)
public Long()
public void addSpanObservation(double span)
addSpanObservation
in interface StatisticsWithSpan
public double getAverageSpan()
getAverageSpan
in interface StatisticsWithSpan
public double getVarianceSpan()
getVarianceSpan
in interface StatisticsWithSpan
public java.lang.String toHTMLString()
toHTMLString
in interface Statistics
toHTMLString
in interface StatisticsWithSpan
toHTMLString
in class Statistics.Long
public int getNumObservationsSpan()
getNumObservationsSpan
in interface StatisticsWithSpan
public double getMaxSpan()
public double getMinSpan()
public void addSpanObservation(long value)
addSpanObservation
in interface StatisticsWithSpan
public void addSpanObservation(int value)
addSpanObservation
in interface StatisticsWithSpan
public void addSpanObservation(short value)
addSpanObservation
in interface StatisticsWithSpan
public void addSpanObservation(float value)
addSpanObservation
in interface StatisticsWithSpan