Class Frequency.NaturalComparator<T extends Comparable<T>>

java.lang.Object
org.apache.commons.math3.stat.Frequency.NaturalComparator<T>
Type Parameters:
T - the type of the objects compared
All Implemented Interfaces:
Serializable, Comparator<Comparable<T>>
Enclosing class:
Frequency

private static class Frequency.NaturalComparator<T extends Comparable<T>> extends Object implements Comparator<Comparable<T>>, Serializable
A Comparator that compares comparable objects using the natural order. Copied from Commons Collections ComparableComparator.