Class UnitComparator<U extends javax.measure.Unit<?>>

  • Type Parameters:
    U - the type to compare
    All Implemented Interfaces:
    Comparator<U>

    public class UnitComparator<U extends javax.measure.Unit<?>>
    extends Object
    implements Comparator<U>
    Comparator to sort units by natural order, looking both the name and the symbol.
    Since:
    2.0
    Version:
    1.1
    Author:
    Werner Keil