Package net.sourceforge.plantuml.api
Class NumberAnalyzed
java.lang.Object
net.sourceforge.plantuml.api.NumberAnalyzed
- All Implemented Interfaces:
INumberAnalyzed
- Direct Known Subclasses:
NumberAnalyzedDated
-
Constructor Summary
ModifierConstructorDescriptionNumberAnalyzed
(String name) protected
NumberAnalyzed
(String name, long nb, long sum, long min, long max, long sumOfSquare, long sliddingSum) -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(NumberAnalyzed other) void
addValue
(long v) final long
getMax()
final long
getMean()
final long
getMin()
final String
getName()
final long
getNb()
protected String
final long
final long
final long
getSum()
static NumberAnalyzed
load
(String name, Preferences prefs) protected final String
longToString
(long val) void
reset()
final void
save
(Preferences prefs) toString()
-
Constructor Details
-
NumberAnalyzed
-
NumberAnalyzed
public NumberAnalyzed() -
NumberAnalyzed
protected NumberAnalyzed(String name, long nb, long sum, long min, long max, long sumOfSquare, long sliddingSum)
-
-
Method Details
-
reset
public void reset() -
save
-
getSavedSupplementatyData
-
longToString
-
load
-
toString
-
getCopyImmutable
-
addValue
public void addValue(long v) -
add
-
getNb
public final long getNb()- Specified by:
getNb
in interfaceINumberAnalyzed
-
getSum
public final long getSum()- Specified by:
getSum
in interfaceINumberAnalyzed
-
getMin
public final long getMin()- Specified by:
getMin
in interfaceINumberAnalyzed
-
getMax
public final long getMax()- Specified by:
getMax
in interfaceINumberAnalyzed
-
getMean
public final long getMean()- Specified by:
getMean
in interfaceINumberAnalyzed
-
getSliddingMean
public final long getSliddingMean()- Specified by:
getSliddingMean
in interfaceINumberAnalyzed
-
getStandardDeviation
public final long getStandardDeviation() -
getName
-