Top Description Interfaces Classes
module tech.uom.lib.common

Package tech.uom.lib.common.util


Utility classes
Author
Werner

Interface Summary

Modifier and TypeInterface and Description
public interface
DescriptiveEnum<
the value parameter
D extends DescriptiveEnum<D>
>

This interface is used to provide a getDescription() method to enums.

Class Summary

Modifier and TypeClass and Description
public class
NaturalQuantityComparator<
the type of quantity
T extends Quantity<T>
>

Comparator to sort quantities by natural order, looking both the unit and the value.

public class
NumberComparator

Compares two Number objects with each other

public class
public class
UnitComparator<
the type to compare
U extends Unit<?>
>

Comparator to sort units by natural order, looking at both the name and symbol.