public enum Notation extends Enum<Notation> implements Key
Enum Constant and Description |
---|
COMPACT
To return the string representing exponent.
|
ENGINEERING
To return the exponent of ten when divisible by three.
|
SCIENTIFIC
To return the order-of-magnitude for formatted number.
|
STANDARD
To set plain number formatting.
|
Modifier and Type | Method and Description |
---|---|
String |
value()
Returns the name value of property
|
static Notation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Notation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
checkAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid
public static final Notation STANDARD
public static final Notation SCIENTIFIC
public static final Notation ENGINEERING
public static final Notation COMPACT
public static Notation[] values()
for (Notation c : Notation.values()) System.out.println(c);
public static Notation 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 null