Enum NumericUnaryTransformation.NumericOperator
- java.lang.Object
-
- java.lang.Enum<NumericUnaryTransformation.NumericOperator>
-
- it.bancaditalia.oss.vtl.impl.transform.number.NumericUnaryTransformation.NumericOperator
-
- All Implemented Interfaces:
Serializable
,Comparable<NumericUnaryTransformation.NumericOperator>
,Function<ScalarValue<?,?,? extends NumberDomainSubset<?,?>,? extends NumberDomain>,ScalarValue<?,?,? extends NumberDomainSubset<?,?>,? extends NumberDomain>>
,UnaryOperator<ScalarValue<?,?,? extends NumberDomainSubset<?,?>,? extends NumberDomain>>
- Enclosing class:
- NumericUnaryTransformation
public static enum NumericUnaryTransformation.NumericOperator extends Enum<NumericUnaryTransformation.NumericOperator> implements UnaryOperator<ScalarValue<?,?,? extends NumberDomainSubset<?,?>,? extends NumberDomain>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABS
CEIL
EXP
FLOOR
LN
SQRT
UNARY_MINUS
UNARY_PLUS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ScalarValue<?,?,? extends NumberDomainSubset<?,?>,? extends NumberDomain>
apply(ScalarValue<?,?,? extends NumberDomainSubset<?,?>,? extends NumberDomain> number)
String
capsize(Transformation operand)
static NumericUnaryTransformation.NumericOperator
valueOf(String name)
Returns the enum constant of this type with the specified name.static NumericUnaryTransformation.NumericOperator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CEIL
public static final NumericUnaryTransformation.NumericOperator CEIL
-
FLOOR
public static final NumericUnaryTransformation.NumericOperator FLOOR
-
ABS
public static final NumericUnaryTransformation.NumericOperator ABS
-
EXP
public static final NumericUnaryTransformation.NumericOperator EXP
-
LN
public static final NumericUnaryTransformation.NumericOperator LN
-
SQRT
public static final NumericUnaryTransformation.NumericOperator SQRT
-
UNARY_PLUS
public static final NumericUnaryTransformation.NumericOperator UNARY_PLUS
-
UNARY_MINUS
public static final NumericUnaryTransformation.NumericOperator UNARY_MINUS
-
-
Method Detail
-
values
public static NumericUnaryTransformation.NumericOperator[] 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 (NumericUnaryTransformation.NumericOperator c : NumericUnaryTransformation.NumericOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NumericUnaryTransformation.NumericOperator 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<?,?,? extends NumberDomainSubset<?,?>,? extends NumberDomain> apply(ScalarValue<?,?,? extends NumberDomainSubset<?,?>,? extends NumberDomain> number)
- Specified by:
apply
in interfaceFunction<ScalarValue<?,?,? extends NumberDomainSubset<?,?>,? extends NumberDomain>,ScalarValue<?,?,? extends NumberDomainSubset<?,?>,? extends NumberDomain>>
-
capsize
public String capsize(Transformation operand)
-
-