|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.measure.unit.Unit<Q>
javax.measure.unit.TransformedUnit<Q>
fr.cnes.sitools.units.astronomy.AstronomicUnit<Q>
Q
- public class AstronomicUnit<Q extends javax.measure.quantity.Quantity<Q>>
Class to define a unit used in astronomy
Field Summary |
---|
Fields inherited from class javax.measure.unit.Unit |
---|
ONE |
Constructor Summary | |
---|---|
AstronomicUnit(java.lang.String symbol,
javax.measure.unit.Unit<Q> parent,
javax.measure.unit.UnitConverter converter)
Constructor with symbol |
Method Summary | |
---|---|
java.lang.String |
getSymbol()
Get the symbol |
Methods inherited from class javax.measure.unit.TransformedUnit |
---|
equals, getConverterToMetric, getParentUnit, hashCode, toMetric, toParentUnit |
Methods inherited from class javax.measure.unit.Unit |
---|
add, alternate, asType, divide, divide, divide, getConverterTo, getConverterToAny, getDimension, getProductUnits, inverse, isCompatible, multiply, multiply, multiply, pow, root, toString, transform, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AstronomicUnit(java.lang.String symbol, javax.measure.unit.Unit<Q> parent, javax.measure.unit.UnitConverter converter)
symbol
- the symbol used for the unitparent
- the base unit definitionconverter
- the converter to the parentMethod Detail |
---|
public final java.lang.String getSymbol()
getSymbol
in class javax.measure.unit.Unit<Q extends javax.measure.quantity.Quantity<Q>>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |