Package | Description |
---|---|
tec.uom.se.format | |
tec.uom.se.unit |
This package provides supports for physics units, in conformity with the
Units of Measurement API.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<javax.measure.UnitConverter,MetricPrefix> |
SymbolMap.converterToPrefix |
Modifier and Type | Method and Description |
---|---|
MetricPrefix |
SymbolMap.getPrefix(java.lang.String symbol)
Returns the prefix (if any) for the specified symbol.
|
MetricPrefix |
SymbolMap.getPrefix(javax.measure.UnitConverter converter)
Returns the prefix for the specified converter.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
SymbolMap.getSymbol(MetricPrefix prefix)
Returns the symbol for the specified prefix.
|
void |
SymbolMap.label(MetricPrefix prefix,
java.lang.String symbol)
Attaches a label to the specified prefix.
|
private static int |
FormatConverter.noopPrecedence(java.lang.StringBuilder buffer,
SymbolMap symbolMap,
MetricPrefix prefix) |
Modifier and Type | Method and Description |
---|---|
static MetricPrefix |
MetricPrefix.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MetricPrefix[] |
MetricPrefix.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|