Package | Description |
---|---|
tech.units.indriya |
This package provides the Reference Implementation of the
Units of Measurement API.
|
tech.units.indriya.format |
Modifier and Type | Method | Description |
---|---|---|
static <U extends javax.measure.Unit<?>> |
AbstractSystemOfUnits.Helper.addUnit(Set<javax.measure.Unit<?>> units,
U unit,
String name,
String symbol,
UnitStyle style) |
Adds a new named unit to the collection.
|
static <U extends javax.measure.Unit<?>> |
AbstractSystemOfUnits.Helper.addUnit(Set<javax.measure.Unit<?>> units,
U unit,
String text,
UnitStyle style) |
Adds a new labeled unit to the set.
|
Modifier and Type | Method | Description |
---|---|---|
static UnitStyle |
UnitStyle.valueOf(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.
|
Copyright © 2005–2020 Units of Measurement project. All rights reserved.