public enum UnaryOperation extends Enum<UnaryOperation>
| Enum Constant and Description |
|---|
INT_TO_BYTE |
INT_TO_CHAR |
INT_TO_LONG |
INT_TO_SHORT |
LENGTH |
LONG_TO_INT |
LONG_TO_NUM |
NEGATE |
NEGATE_LONG |
NOT |
NOT_LONG |
NULL_CHECK |
NUM_TO_LONG |
| Modifier and Type | Method and Description |
|---|---|
static UnaryOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnaryOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnaryOperation NOT
public static final UnaryOperation NOT_LONG
public static final UnaryOperation NEGATE
public static final UnaryOperation NEGATE_LONG
public static final UnaryOperation LENGTH
public static final UnaryOperation LONG_TO_NUM
public static final UnaryOperation LONG_TO_INT
public static final UnaryOperation NUM_TO_LONG
public static final UnaryOperation INT_TO_LONG
public static final UnaryOperation INT_TO_BYTE
public static final UnaryOperation INT_TO_SHORT
public static final UnaryOperation INT_TO_CHAR
public static final UnaryOperation NULL_CHECK
public static UnaryOperation[] values()
for (UnaryOperation c : UnaryOperation.values()) System.out.println(c);
public static UnaryOperation 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 nullCopyright © 2015. All rights reserved.