Package org.openl.rules.util
Class Statistics
- java.lang.Object
-
- org.openl.rules.util.Statistics
-
public final class Statistics extends Object
A set of function for statistical analyze.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends Comparable<T>>
Tmax(T... values)Returns the greatest of values.static <T extends Comparable<T>>
Tmin(T... values)Returns the smallest of values.
-
-
-
Method Detail
-
max
public static <T extends Comparable<T>> T max(T... values)
Returns the greatest of values. If values are equal, the first instance will return.
-
min
public static <T extends Comparable<T>> T min(T... values)
Returns the smallest of values. If values are equal, the first instance will return.
-
-