public static enum UnaryOperation.Operator extends Enum<UnaryOperation.Operator>
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static UnaryOperation.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnaryOperation.Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnaryOperation.Operator ABS
public static final UnaryOperation.Operator NEGATIVE
public static final UnaryOperation.Operator POSITIVE
public static UnaryOperation.Operator[] values()
for (UnaryOperation.Operator c : UnaryOperation.Operator.values()) System.out.println(c);
public static UnaryOperation.Operator 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<UnaryOperation.Operator>
Copyright © 2020. All rights reserved.