public enum MathOperator extends Enum<MathOperator> implements Operator
| Modifier and Type | Method and Description |
|---|---|
void |
appendTo(SafeSqlAppendable builder) |
SafeSql |
toSafeSql() |
String |
toString() |
static MathOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MathOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MathOperator ADD
public static final MathOperator SUB
public static final MathOperator MUL
public static final MathOperator DIV
public static MathOperator[] values()
for (MathOperator c : MathOperator.values()) System.out.println(c);
public static MathOperator 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 toString()
toString in class Enum<MathOperator>public SafeSql toSafeSql()
toSafeSql in interface SafeSqlizablepublic void appendTo(SafeSqlAppendable builder)
appendTo in interface SafeSqlizableCopyright © 2017. All rights reserved.