public enum UnaryOperatorKind extends Enum<UnaryOperatorKind>
| Enum Constant and Description | 
|---|
| MINUSMinus operator | 
| NOTnot operator | 
| Modifier and Type | Method and Description | 
|---|---|
| static UnaryOperatorKind | get(String operator)URI syntax to enumeration value | 
| String | toString() | 
| static UnaryOperatorKind | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static UnaryOperatorKind[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final UnaryOperatorKind MINUS
public static final UnaryOperatorKind NOT
public static UnaryOperatorKind[] values()
for (UnaryOperatorKind c : UnaryOperatorKind.values()) System.out.println(c);
public static UnaryOperatorKind 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<UnaryOperatorKind>public static UnaryOperatorKind get(String operator)
operator - Operator in the syntax used in the URICopyright © 2013–2023 The Apache Software Foundation. All rights reserved.