public enum UnaryOperator extends Enum<UnaryOperator>
Enum Constant and Description |
---|
IS_WHITESPACE
Evaluates whether the operand is a string of only whitespace characters
|
LENGTH
Evaluates the length of a collection
|
NOT
Evaluates to logical negation of the operand
|
Modifier and Type | Method and Description |
---|---|
abstract Object |
eval(Object operand) |
static UnaryOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnaryOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnaryOperator NOT
public static final UnaryOperator IS_WHITESPACE
public static final UnaryOperator LENGTH
public static UnaryOperator[] values()
for (UnaryOperator c : UnaryOperator.values()) System.out.println(c);
public static UnaryOperator 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 © 2017 The Apache Software Foundation. All rights reserved.