Package org.snpeff.stats
Class FloatStats
- java.lang.Object
-
- org.snpeff.stats.FloatStats
-
public class FloatStats extends java.lang.Object
A simple class that does some basic statistics on double numbers- Author:
- pcingola
-
-
Constructor Summary
Constructors Constructor Description FloatStats()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
avg()
int
getCount()
double
getMax()
double
getMin()
double
getSum()
void
sample(double d)
java.lang.String
toString()
java.lang.String
toString(boolean title)
-
-
-
Method Detail
-
avg
public double avg()
-
getCount
public int getCount()
-
getMax
public double getMax()
-
getMin
public double getMin()
-
getSum
public double getSum()
-
sample
public void sample(double d)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toString
public java.lang.String toString(boolean title)
-
-