public static enum Mensuration.Precision extends Enum<Mensuration.Precision>
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
int |
getUnitDivider() |
int |
getValue() |
boolean |
isDecimal() |
String |
toString() |
static Mensuration.Precision |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Mensuration.Precision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Mensuration.Precision CM1
public static final Mensuration.Precision MM5
public static final Mensuration.Precision MM1
public static Mensuration.Precision[] values()
for (Mensuration.Precision c : Mensuration.Precision.values()) System.out.println(c);
public static Mensuration.Precision 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 int getValue()
public int getUnitDivider()
public String getLabel()
public String toString()
toString in class Enum<Mensuration.Precision>public boolean isDecimal()
Copyright © 2013–2014 CodeLutin. All rights reserved.