|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use UnitName | |
---|---|
ucar.units | Provides support for parsing and formatting string unit specification, converting numerical values between compatible units, and performing arithmetic on units (such as dividing one unit by another). |
Uses of UnitName in ucar.units |
---|
Methods in ucar.units that return UnitName | |
---|---|
UnitName |
UnitImpl.getUnitName()
Gets the identifier of this unit. |
UnitName |
Unit.getUnitName()
Gets the identifier of this unit. |
static UnitName |
UnitName.newUnitName(String name)
Factory method for constructing a UnitName from a name. |
static UnitName |
UnitName.newUnitName(String name,
String plural)
Factory method for constructing a UnitName from a name and a plural form of the name. |
static UnitName |
UnitName.newUnitName(String name,
String plural,
String symbol)
Factory method for constructing a UnitName from a name, a plural form of the name, and a symbol. |
Methods in ucar.units with parameters of type UnitName | |
---|---|
Unit |
ScaledUnit.clone(UnitName id)
Clones this unit, changing the identifier. |
Unit |
TimeScaleUnit.clone(UnitName id)
Clones this unit, changing the identifier. |
Unit |
DerivedUnitImpl.clone(UnitName id)
Clones the derived unit changing the identifiers. |
Unit |
Unit.clone(UnitName id)
Clones this unit, changing the identifier. |
Unit |
LogarithmicUnit.clone(UnitName id)
Clones this unit, changing the identifier. |
Unit |
OffsetUnit.clone(UnitName id)
Clones this unit, changing the identifier. |
static BaseUnit |
BaseUnit.getOrCreate(UnitName id,
BaseQuantity baseQuantity)
Factory method for creating a new BaseUnit or obtaining a previously-created one. |
Constructors in ucar.units with parameters of type UnitName | |
---|---|
BaseUnit(UnitName id,
BaseQuantity baseQuantity)
Constructs from identifiers and a base quantity. |
|
DerivedUnitImpl(UnitDimension dimension,
UnitName id)
Constructs from a unit dimension and identifiers. |
|
DerivedUnitImpl(UnitName id)
Constructs from identifiers. |
|
LogarithmicUnit(Unit reference,
double base,
UnitName id)
Constructs from a reference level, a logarithmic base, and a unit identifier. |
|
OffsetUnit(Unit unit,
double offset,
UnitName id)
Constructs from a reference unit, and offset, and a unit identifier. |
|
ScaledUnit(double scale,
Unit unit,
UnitName id)
Constructs from a multiplicative factor, a reference unit, and an identifier. |
|
TimeScaleUnit(Unit unit,
Date origin,
UnitName id)
Constructs from a reference unit, a time origin, and an identifier. |
|
UnitImpl(UnitName id)
Constructs with the given ID. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |