public static enum DataValidationEvaluator.OperatorEnum extends java.lang.Enum<DataValidationEvaluator.OperatorEnum>
Enum Constant and Description |
---|
BETWEEN |
EQUAL |
GREATER_OR_EQUAL |
GREATER_THAN |
LESS_OR_EQUAL |
LESS_THAN |
NOT_BETWEEN |
NOT_EQUAL |
Modifier and Type | Field and Description |
---|---|
static DataValidationEvaluator.OperatorEnum |
IGNORED |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isValid(java.lang.Double cellValue,
java.lang.Double v1,
java.lang.Double v2)
Evaluates comparison using operator instance rules
|
static DataValidationEvaluator.OperatorEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataValidationEvaluator.OperatorEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataValidationEvaluator.OperatorEnum BETWEEN
public static final DataValidationEvaluator.OperatorEnum NOT_BETWEEN
public static final DataValidationEvaluator.OperatorEnum EQUAL
public static final DataValidationEvaluator.OperatorEnum NOT_EQUAL
public static final DataValidationEvaluator.OperatorEnum GREATER_THAN
public static final DataValidationEvaluator.OperatorEnum LESS_THAN
public static final DataValidationEvaluator.OperatorEnum GREATER_OR_EQUAL
public static final DataValidationEvaluator.OperatorEnum LESS_OR_EQUAL
public static final DataValidationEvaluator.OperatorEnum IGNORED
public static DataValidationEvaluator.OperatorEnum[] values()
for (DataValidationEvaluator.OperatorEnum c : DataValidationEvaluator.OperatorEnum.values()) System.out.println(c);
public static DataValidationEvaluator.OperatorEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract boolean isValid(java.lang.Double cellValue, java.lang.Double v1, java.lang.Double v2)
cellValue
- won't be null, assumption is previous checks handled thatv1
- if null, value assumed invalid, anything passes, per Excel behaviorv2
- null if not needed. If null when needed, assume anything passes, per Excel behaviorCopyright 2020 The Apache Software Foundation or its licensors, as applicable.