ItemList.Type
Modifier and Type | Field and Description |
---|---|
protected int |
shift |
count, max, min, NUM_BASIC_ITEMS, sum, sumOfSquares
ITEM_FORMAT_PERC, ITEM_FORMAT_TIME, ITEM_NAME_AVERAGE, ITEM_NAME_COUNT, ITEM_NAME_MAX, ITEM_NAME_MIN, ITEM_NAME_STDDEV, ITEM_NAME_SUM, ITEM_NAME_SUMSQ, ITEM_VALUE_NAN, PRINT_FORMAT_COUNT, PRINT_FORMAT_PERC, PRINT_FORMAT_TIME
Modifier | Constructor and Description |
---|---|
|
BigBasics() |
protected |
BigBasics(long count,
long sum,
long sumOfSquares,
int shift) |
Modifier and Type | Method and Description |
---|---|
void |
addRecord(Basics record) |
protected void |
addSums(long value) |
void |
checkSizes() |
double |
getAverage() |
double |
getIntervalAverage(Basics mark) |
long |
getIntervalSum(Basics mark) |
long |
getIntervalSumOfSquares(Basics mark) |
double |
getIntervalVariance(Basics mark) |
Object |
getItemValue(int index) |
int |
getShift() |
double |
getVariance() |
void |
reset() |
void |
shiftRight() |
BigBasics |
takeSnapshot() |
protected XmlBuilder |
toXml(String elementName,
String name,
DecimalFormat timeFormat,
DecimalFormat percentageFormat) |
addValue, checkMinMax, getCount, getIntervalCount, getIntervalMax, getIntervalMin, getItemCount, getItemName, getItemType, getMax, getMin, getStdDev, getSum, getSumOfSquares, updateIntervalMinMax
public BigBasics()
protected BigBasics(long count, long sum, long sumOfSquares, int shift)
public void checkSizes()
public void shiftRight()
public BigBasics takeSnapshot()
takeSnapshot
in interface IBasics<Basics>
takeSnapshot
in class Basics
public Object getItemValue(int index)
getItemValue
in interface ItemList
getItemValue
in class Basics
public double getVariance()
getVariance
in interface IBasics<Basics>
getVariance
in class Basics
public int getShift()
public double getAverage()
getAverage
in interface IBasics<Basics>
getAverage
in class Basics
public double getIntervalAverage(Basics mark)
getIntervalAverage
in interface IBasics<Basics>
getIntervalAverage
in class Basics
public long getIntervalSum(Basics mark)
getIntervalSum
in interface IBasics<Basics>
getIntervalSum
in class Basics
public long getIntervalSumOfSquares(Basics mark)
getIntervalSumOfSquares
in interface IBasics<Basics>
getIntervalSumOfSquares
in class Basics
public double getIntervalVariance(Basics mark)
getIntervalVariance
in interface IBasics<Basics>
getIntervalVariance
in class Basics
protected XmlBuilder toXml(String elementName, String name, DecimalFormat timeFormat, DecimalFormat percentageFormat)
Copyright © 2023 Frank!Framework. All rights reserved.