system
of units.
Common systems of units are "SI" (System International) or Metric system, "Imperial" (British), or "US" (US Customary).
| Modifier and Type | Method and Description |
|---|---|
| public Collection | Returns: list of available systems of units, never null.Gets a list with available systems for this |
| public default < compile-time value of the P extends Prefix> SetprefixType argument | Returns: a set containing the constant values of this Prefix type, in the order they're declaredthe prefixType)Prefix typeReturns a |
| public SystemOfUnits | |
| public SystemOfUnits | Returns: the system of units for the given name.the system of unit name. name)Returns the system of units having the specified name or |
| getAvailableSystemsOfUnits | back to summary |
|---|---|
| public Collection Gets a list with available systems for this
| |
| getPrefixes | back to summary |
|---|---|
| public default <P extends Prefix> Set Returns a This method may be used to iterate over certain prefixes as follows:
The default implementation assumes that prefixes of the given type are implemented as an enumeration.
This is the case of the two default prefix implementations provided in JSR 385,
namely javax.measure.MetricPrefix and javax.measure.BinaryPrefix.
Implementors shall override this method if they provide prefixes implemented in a different way.
| |
| getSystemOfUnits | back to summary |
|---|---|
| public SystemOfUnits getSystemOfUnits() Returns the default
| |
| getSystemOfUnits | back to summary |
|---|---|
| public SystemOfUnits getSystemOfUnits(String name) Returns the system of units having the specified name or
| |