Interface SystemOfUnitsService


  • public interface SystemOfUnitsService
    This interface represents the service to obtain a system of units.

    Common system of units are "SI" (System International), "Imperial" (British), "US" (US Customary).

    Since:
    1.0
    Version:
    1.0, August 8, 2016
    • Method Detail

      • getSystemOfUnits

        SystemOfUnits getSystemOfUnits​(java.lang.String name)
        Returns the system of units having the specified name or null if none.
        Parameters:
        name - the system of unit name.
        Returns:
        the given system of units.
      • getAvailableSystemsOfUnits

        java.util.Collection<SystemOfUnits> getAvailableSystemsOfUnits()
        Gets a list with available systems for this SystemOfUnitsService.
        Returns:
        list of available systems of units, never null.