| Package | Description |
|---|---|
| org.cts.units |
| Modifier and Type | Field and Description |
|---|---|
static Quantity |
Quantity.ANGLE |
static Quantity |
Quantity.LENGTH |
static Quantity |
Quantity.NODIM |
static Quantity |
Quantity.TIME |
| Modifier and Type | Method and Description |
|---|---|
static Quantity |
Quantity.Factory.create(String name)
Creates a new Quantity from a String.
|
Quantity |
Unit.getQuantity()
Returns the Quantity measured by this Unit.
|
Quantity |
Measure.getQuantity()
Gets the Quantity measured.
|
| Modifier and Type | Method and Description |
|---|---|
static Unit |
Unit.getBaseUnit(Quantity quantity)
Static method returning the base Unit for this quantity Class.
|
static Unit |
Unit.getUnit(Quantity quantity,
String symbol)
Static method returning a Unit from its symbol and quantity Class.
|
| Constructor and Description |
|---|
Unit(Quantity quantity,
double scale,
double offset,
Identifier id)
Creates a new Unit for the Quantity Q.
|
Unit(Quantity quantity,
double scale,
Identifier id)
Creates a new unit for this quantity.
|
Unit(Quantity quantity,
Identifier id)
Creates a base unit for this quantity.
|
Copyright © 2019 CNRS. All rights reserved.