Enum ConditionOp
- java.lang.Object
-
- java.lang.Enum<ConditionOp>
-
- org.datavec.api.transform.condition.ConditionOp
-
- All Implemented Interfaces:
Serializable
,Comparable<ConditionOp>
public enum ConditionOp extends Enum<ConditionOp>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Equal
GreaterOrEqual
GreaterThan
InSet
LessOrEqual
LessThan
NotEqual
NotInSet
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(double x, double value, Set<Double> set)
boolean
apply(float x, float value, Set<Float> set)
boolean
apply(int x, int value, Set<Integer> set)
boolean
apply(long x, long value, Set<Long> set)
boolean
apply(String x, String value, Set<String> set)
static ConditionOp
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConditionOp[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LessThan
public static final ConditionOp LessThan
-
LessOrEqual
public static final ConditionOp LessOrEqual
-
GreaterThan
public static final ConditionOp GreaterThan
-
GreaterOrEqual
public static final ConditionOp GreaterOrEqual
-
Equal
public static final ConditionOp Equal
-
NotEqual
public static final ConditionOp NotEqual
-
InSet
public static final ConditionOp InSet
-
NotInSet
public static final ConditionOp NotInSet
-
-
Method Detail
-
values
public static ConditionOp[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConditionOp c : ConditionOp.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConditionOp valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-