Package net.sourceforge.plantuml.api
Class NumberAnalyzed2
java.lang.Object
net.sourceforge.plantuml.api.NumberAnalyzed2
- All Implemented Interfaces:
INumberAnalyzed
-
Constructor Summary
ModifierConstructorDescriptionNumberAnalyzed2
(String name) protected
NumberAnalyzed2
(String name, long nb, long sum, long min, long max, long sumOfSquare, long sliddingSum) -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(NumberAnalyzed2 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
getSum()
static NumberAnalyzed2
load
(String name, Preferences prefs) protected final String
longToString
(AtomicLong val) void
reset()
final void
save
(Preferences prefs) toString()
-
Constructor Details
-
NumberAnalyzed2
-
NumberAnalyzed2
public NumberAnalyzed2() -
NumberAnalyzed2
protected NumberAnalyzed2(String name, long nb, long sum, long min, long max, long sumOfSquare, long sliddingSum)
-
-
Method Details
-
reset
public void reset() -
save
-
getSavedString
-
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
-
getName
-