public enum CalculatorKey extends java.lang.Enum<CalculatorKey> implements com.google.gwt.user.client.rpc.IsSerializable
Enum Constant and Description |
---|
DIVIDE
The divide.
|
EIGHT
The eight.
|
FIVE
The five.
|
FOUR
The four.
|
LEFTBRACKET
The leftbracket.
|
MINUS
The minus.
|
MULTIPLY
The multiply.
|
NINE
The nine.
|
ONE
The one.
|
PLUS
The plus.
|
POINT
The point.
|
RIGHTBRACKET
The rightbracket.
|
SEVEN
The seven.
|
SIX
The six.
|
THREE
The three.
|
TWO
The two.
|
ZERO
The zero.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStringRepresentation()
Gets the string representation.
|
static CalculatorKey |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CalculatorKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CalculatorKey DIVIDE
public static final CalculatorKey EIGHT
public static final CalculatorKey FIVE
public static final CalculatorKey FOUR
public static final CalculatorKey LEFTBRACKET
public static final CalculatorKey MINUS
public static final CalculatorKey MULTIPLY
public static final CalculatorKey NINE
public static final CalculatorKey ONE
public static final CalculatorKey PLUS
public static final CalculatorKey POINT
public static final CalculatorKey RIGHTBRACKET
public static final CalculatorKey SEVEN
public static final CalculatorKey SIX
public static final CalculatorKey THREE
public static final CalculatorKey TWO
public static final CalculatorKey ZERO
public static CalculatorKey[] values()
for (CalculatorKey c : CalculatorKey.values()) System.out.println(c);
public static CalculatorKey valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getStringRepresentation()