public static enum ApplyOp.ReturnValueType extends Enum<ApplyOp.ReturnValueType>
| Enum Constant and Description |
|---|
NO_RETURN_VALUE
Returns no value after applying the given function
|
RETURN_NEW_VALUE
Returns the value after the given function is applied
|
RETURN_OLD_VALUE
Returns the value which resides before the given function is applied
|
| Modifier and Type | Method and Description |
|---|---|
static ApplyOp.ReturnValueType |
fromValue(int value) |
int |
value() |
static ApplyOp.ReturnValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplyOp.ReturnValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplyOp.ReturnValueType NO_RETURN_VALUE
public static final ApplyOp.ReturnValueType RETURN_OLD_VALUE
public static final ApplyOp.ReturnValueType RETURN_NEW_VALUE
public static ApplyOp.ReturnValueType[] values()
for (ApplyOp.ReturnValueType c : ApplyOp.ReturnValueType.values()) System.out.println(c);
public static ApplyOp.ReturnValueType 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 static ApplyOp.ReturnValueType fromValue(int value)
public int value()
Copyright © 2019. All Rights Reserved.