Package tech.uom.lib.common.util
package tech.uom.lib.common.util
Utility classes
- Author:
- Werner
-
ClassDescriptionDescriptiveEnum<D extends DescriptiveEnum<D>>This interface is used to provide a
getDescription()method to enums.NaturalQuantityComparator<T extends Quantity<T>>Comparator to sort quantities by natural order, looking both the unit and the value.Compares two Number objects with each otherUnitComparator<U extends Unit<?>>Comparator to sort units by natural order, looking at both the name and symbol.