public static enum MathExpr.MathOp extends Enum<MathExpr.MathOp>
| Modifier and Type | Method and Description | 
|---|---|
| String | getSymbol() | 
| static MathExpr.MathOp | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static MathExpr.MathOp[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final MathExpr.MathOp PLUS
public static final MathExpr.MathOp MINUS
public static final MathExpr.MathOp MULTIPLY
public static final MathExpr.MathOp DIVIDE
public static MathExpr.MathOp[] values()
for (MathExpr.MathOp c : MathExpr.MathOp.values()) System.out.println(c);
public static MathExpr.MathOp 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()
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.