Class CountDistinct
-
- All Implemented Interfaces:
-
org.apache.commons.math3.stat.descriptive.UnivariateStatistic
,org.apache.commons.math3.util.MathArrays.Function
public final class CountDistinct extends AbstractUnivariateStatistic
Counts the number of distinct entries.
-
-
Constructor Summary
Constructors Constructor Description CountDistinct()
-
Method Summary
Modifier and Type Method Description Double
evaluate(DoubleArray values, Integer begin, Integer length)
CountDistinct
copy()
String
toString()
-
-
Method Detail
-
evaluate
Double evaluate(DoubleArray values, Integer begin, Integer length)
-
copy
CountDistinct copy()
-
-
-
-