public enum UnaryOperator extends Enum<UnaryOperator> implements Formula
| Enum Constant and Description |
|---|
NOT |
| Modifier and Type | Method and Description |
|---|---|
BinaryRelationalExpression |
asBinaryRelationalExpression() |
PrimaryExpression |
asPrimaryExpression() |
void |
dispatch(FormulaVisitor visitor) |
char |
getSymbol() |
void |
print(PrettyPrintWriter out) |
static UnaryOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnaryOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnaryOperator NOT
public static UnaryOperator[] values()
for (UnaryOperator c : UnaryOperator.values()) System.out.println(c);
public static UnaryOperator 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 void print(PrettyPrintWriter out)
public char getSymbol()
public void dispatch(FormulaVisitor visitor)
public PrimaryExpression asPrimaryExpression()
asPrimaryExpression in interface Formulapublic BinaryRelationalExpression asBinaryRelationalExpression()
asBinaryRelationalExpression in interface FormulaCopyright © 2019. All rights reserved.