public enum DecimalPlaces extends Enum<DecimalPlaces>
Modifier and Type | Method and Description |
---|---|
static DecimalPlaces |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DecimalPlaces[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DecimalPlaces ZERO
public static final DecimalPlaces ONE
public static final DecimalPlaces TWO
public static final DecimalPlaces THREE
public static final DecimalPlaces FOUR
public static final DecimalPlaces FIVE
public static DecimalPlaces[] values()
for (DecimalPlaces c : DecimalPlaces.values()) System.out.println(c);
public static DecimalPlaces 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 nullCopyright © 2010–2016. All rights reserved.