public static enum LengthValue.Unit extends Enum<LengthValue.Unit>
Modifier and Type | Method and Description |
---|---|
static LengthValue.Unit |
getBaseUnit() |
BigDecimal |
getBaseUnitFactor()
Faktor zur Umrechnung auf die Basiseinheit.
|
String |
toString() |
static LengthValue.Unit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LengthValue.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
String |
write() |
public static final LengthValue.Unit MM
public static final LengthValue.Unit CM
public static final LengthValue.Unit DM
public static final LengthValue.Unit M
public static final LengthValue.Unit KM
public static final LengthValue.Unit IN
public static final LengthValue.Unit FT
public static final LengthValue.Unit YD
public static final LengthValue.Unit MI
public static LengthValue.Unit[] values()
for (LengthValue.Unit c : LengthValue.Unit.values()) System.out.println(c);
public static LengthValue.Unit valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static LengthValue.Unit getBaseUnit()
public BigDecimal getBaseUnitFactor()
public String toString()
toString
in class Enum<LengthValue.Unit>
public String write()
Copyright © 2019 OpenEstate. All rights reserved.