public enum DecimalSymbol extends Enum<DecimalSymbol>
Enum Constant and Description |
---|
COMMA
Specifies the comma character used as decimal notation.
|
DOT
Specifies the dot character used as decimal notation.
|
Modifier and Type | Method and Description |
---|---|
String |
getSymbol()
Returns this symbol character.
|
static DecimalSymbol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DecimalSymbol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DecimalSymbol DOT
public static final DecimalSymbol COMMA
public static DecimalSymbol[] values()
for (DecimalSymbol c : DecimalSymbol.values()) System.out.println(c);
public static DecimalSymbol 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 String getSymbol()