Enum ArithmeticFunctions
- java.lang.Object
-
- java.lang.Enum<ArithmeticFunctions>
-
- org.kie.pmml.api.enums.builtinfunctions.ArithmeticFunctions
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ArithmeticFunctions>
public enum ArithmeticFunctions extends java.lang.Enum<ArithmeticFunctions>
- See Also:
- Built-in functions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ArithmeticFunctionsbyName(java.lang.String name)java.lang.StringgetName()java.lang.ObjectgetValue(java.lang.Object[] inputData)static booleanisArithmeticFunctions(java.lang.String name)static ArithmeticFunctionsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ArithmeticFunctions[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLUS
public static final ArithmeticFunctions PLUS
-
MINUS
public static final ArithmeticFunctions MINUS
-
MULTI
public static final ArithmeticFunctions MULTI
-
DIVISION
public static final ArithmeticFunctions DIVISION
-
MIN
public static final ArithmeticFunctions MIN
-
MAX
public static final ArithmeticFunctions MAX
-
SUM
public static final ArithmeticFunctions SUM
-
AVG
public static final ArithmeticFunctions AVG
-
MEDIAN
public static final ArithmeticFunctions MEDIAN
-
PRODUCT
public static final ArithmeticFunctions PRODUCT
-
LOG10
public static final ArithmeticFunctions LOG10
-
LN
public static final ArithmeticFunctions LN
-
SQRT
public static final ArithmeticFunctions SQRT
-
ABS
public static final ArithmeticFunctions ABS
-
EXP
public static final ArithmeticFunctions EXP
-
POW
public static final ArithmeticFunctions POW
-
THRESHOLD
public static final ArithmeticFunctions THRESHOLD
-
FLOOR
public static final ArithmeticFunctions FLOOR
-
CEIL
public static final ArithmeticFunctions CEIL
-
ROUND
public static final ArithmeticFunctions ROUND
-
MODULO
public static final ArithmeticFunctions MODULO
-
-
Method Detail
-
values
public static ArithmeticFunctions[] 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 (ArithmeticFunctions c : ArithmeticFunctions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ArithmeticFunctions valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
isArithmeticFunctions
public static boolean isArithmeticFunctions(java.lang.String name)
-
byName
public static ArithmeticFunctions byName(java.lang.String name)
-
getName
public java.lang.String getName()
-
getValue
public java.lang.Object getValue(java.lang.Object[] inputData)
-
-