Enum ComparisonOperator
- java.lang.Object
-
- java.lang.Enum<ComparisonOperator>
-
- it.bancaditalia.oss.vtl.impl.types.operators.ComparisonOperator
-
- All Implemented Interfaces:
Serializable
,Comparable<ComparisonOperator>
,BiFunction<ScalarValue<?,?,?,?>,ScalarValue<?,?,?,?>,ScalarValue<?,?,EntireBooleanDomainSubset,BooleanDomain>>
public enum ComparisonOperator extends Enum<ComparisonOperator> implements BiFunction<ScalarValue<?,?,?,?>,ScalarValue<?,?,?,?>,ScalarValue<?,?,EntireBooleanDomainSubset,BooleanDomain>>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ScalarValue<?,?,EntireBooleanDomainSubset,BooleanDomain>
apply(ScalarValue<?,?,?,?> l, ScalarValue<?,?,?,?> r)
String
toString()
static ComparisonOperator
valueOf(String name)
Returns the enum constant of this type with the specified name.static ComparisonOperator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
-
-
-
Enum Constant Detail
-
EQ
public static final ComparisonOperator EQ
-
NE
public static final ComparisonOperator NE
-
GT
public static final ComparisonOperator GT
-
GE
public static final ComparisonOperator GE
-
LT
public static final ComparisonOperator LT
-
LE
public static final ComparisonOperator LE
-
-
Method Detail
-
values
public static ComparisonOperator[] 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 (ComparisonOperator c : ComparisonOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ComparisonOperator 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
-
apply
public ScalarValue<?,?,EntireBooleanDomainSubset,BooleanDomain> apply(ScalarValue<?,?,?,?> l, ScalarValue<?,?,?,?> r)
- Specified by:
apply
in interfaceBiFunction<ScalarValue<?,?,?,?>,ScalarValue<?,?,?,?>,ScalarValue<?,?,EntireBooleanDomainSubset,BooleanDomain>>
-
toString
public String toString()
- Overrides:
toString
in classEnum<ComparisonOperator>
-
-