public class Statistics<T> extends Object
| Constructor and Description |
|---|
Statistics(T min,
T max)
Deprecated.
will be removed in 2.0.0. Use
Statistics(Object, Object, Comparator) instead |
Statistics(T min,
T max,
Comparator<T> comparator) |
| Modifier and Type | Method and Description |
|---|---|
Comparator<T> |
getComparator()
Returns the comparator to be used to compare two generic values in the proper way (e.g.
|
T |
getMax()
Returns the generic object representing the max value in the statistics.
|
T |
getMin()
Returns the generic object representing the min value in the statistics.
|
@Deprecated public Statistics(T min, T max)
Statistics(Object, Object, Comparator) insteadpublic Statistics(T min, T max, Comparator<T> comparator)
public T getMin()
T defined by the compareTo method
might not be appropriate for the actual logical type. Use
getComparator() for comparing.public T getMax()
T defined by the compareTo method
might not be appropriate for the actual logical type. Use
getComparator() for comparing.public Comparator<T> getComparator()
Copyright © 2019 Cloudera. All rights reserved.