public enum AddOp extends Enum<AddOp>
| Enum Constant and Description |
|---|
MINUS |
PLUS |
STRING_PLUS |
| Modifier and Type | Method and Description |
|---|---|
String |
getSign() |
static AddOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddOp PLUS
public static final AddOp MINUS
public static final AddOp STRING_PLUS
public static AddOp[] values()
for (AddOp c : AddOp.values()) System.out.println(c);
public static AddOp 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 getSign()
Copyright © 2018 Space Applications Services. All rights reserved.