public enum NegativeOperator extends Enum<NegativeOperator> implements UnaryOperator
Enum Constant and Description |
---|
NEGATIVE
negative operator
|
Modifier and Type | Method and Description |
---|---|
String |
getOperator()
returns the
String representation of the operator |
static NegativeOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NegativeOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
evaluate
public static final NegativeOperator NEGATIVE
public static NegativeOperator[] values()
for (NegativeOperator c : NegativeOperator.values()) System.out.println(c);
public static NegativeOperator 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 getOperator()
String
representation of the operatorgetOperator
in interface Operator
getOperator
in interface UnaryOperator
String
representation of the operatorCopyright © 2020 OXPath Team. All rights reserved.