|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.antelmann.math.DefaultUnit
com.antelmann.math.BaseUnit
com.antelmann.math.Temperature
public class Temperature
temperature unit along with their conversions. Calculations are based on float.
SIBaseUnit.KELVIN,
Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.antelmann.util.Localizable |
|---|
Localizable.Adapter |
| Field Summary | |
|---|---|
static Temperature |
C
Celsius (centigrade) |
static Temperature |
F
Fahrenheit |
static Temperature |
K
Kelvin |
| Fields inherited from class com.antelmann.math.BaseUnit |
|---|
CONVERTER |
| Fields inherited from class com.antelmann.math.DefaultUnit |
|---|
name, symbol |
| Constructor Summary | |
|---|---|
Temperature(String symbol,
String name,
Converter<Number,Number> thisToBaseConverter)
|
|
| Method Summary | |
|---|---|
static Temperature |
fromSymbol(String symbol)
|
static Temperature[] |
getKnownValues()
|
| Methods inherited from class com.antelmann.math.BaseUnit |
|---|
convert, convert, fromBaseUnit, getBase, toBaseUnit, toBaseUnit |
| Methods inherited from class com.antelmann.math.DefaultUnit |
|---|
equals, getLocale, getUnitName, getUnitSymbol, hashCode, setLocale, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Temperature K
public static final Temperature C
public static final Temperature F
| Constructor Detail |
|---|
public Temperature(String symbol,
String name,
Converter<Number,Number> thisToBaseConverter)
| Method Detail |
|---|
public static Temperature[] getKnownValues()
public static Temperature fromSymbol(String symbol)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||