public static enum UnaryBooleanFunction.Strategy extends Enum<UnaryBooleanFunction.Strategy>
UnaryBooleanFunction.Predicate| Enum Constant and Description |
|---|
IS_DECIMAL
Returns true if the given object is a number containing a decimal
|
IS_INTEGER
Returns true if the given object is an integer number
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(Object object) |
static UnaryBooleanFunction.Strategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnaryBooleanFunction.Strategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnaryBooleanFunction.Strategy IS_INTEGER
public static final UnaryBooleanFunction.Strategy IS_DECIMAL
public static UnaryBooleanFunction.Strategy[] values()
for (UnaryBooleanFunction.Strategy c : UnaryBooleanFunction.Strategy.values()) System.out.println(c);
public static UnaryBooleanFunction.Strategy 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 boolean execute(Object object)
Copyright © 2021. All rights reserved.