Package | Description |
---|---|
tec.uom.se |
This package provides a Java SE 8 implementation of the
Units of Measurement API.
|
tec.uom.se.format |
Modifier and Type | Method and Description |
---|---|
static <U extends javax.measure.Unit<?>> |
AbstractSystemOfUnits.Helper.addUnit(java.util.Set<javax.measure.Unit<?>> units,
U unit,
java.lang.String name,
java.lang.String symbol,
UnitStyle style)
Adds a new named unit to the collection.
|
static <U extends javax.measure.Unit<?>> |
AbstractSystemOfUnits.Helper.addUnit(java.util.Set<javax.measure.Unit<?>> units,
U unit,
java.lang.String text,
UnitStyle style)
Adds a new labeled unit to the set.
|
Modifier and Type | Method and Description |
---|---|
static UnitStyle |
UnitStyle.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UnitStyle[] |
UnitStyle.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|