Operator, SafeSqlizablepublic enum MathOperator extends java.lang.Enum<MathOperator> implements Operator
| Modifier and Type | Method | Description |
|---|---|---|
void |
appendTo(SafeSqlBuilder builder) |
|
SafeSql |
toSafeSql() |
|
java.lang.String |
toString() |
|
static MathOperator |
valueOf(java.lang.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 final MathOperator MOD
public static MathOperator[] values()
for (MathOperator c : MathOperator.values()) System.out.println(c);
public static MathOperator 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 toString()
toString in class java.lang.Enum<MathOperator>public SafeSql toSafeSql()
toSafeSql in interface SafeSqlizablepublic void appendTo(SafeSqlBuilder builder)
appendTo in interface SafeSqlizableCopyright © 2018. All rights reserved.