Package org.kie.pmml.api.enums
Enum CAST_INTEGER
- java.lang.Object
-
- java.lang.Enum<CAST_INTEGER>
-
- org.kie.pmml.api.enums.CAST_INTEGER
-
- All Implemented Interfaces:
Serializable,Comparable<CAST_INTEGER>,Named
public enum CAST_INTEGER extends Enum<CAST_INTEGER> implements Named
- See Also:
- castInteger
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CAST_INTEGERbyName(String name)StringgetName()IntegergetScaledValue(Double toScale)static CAST_INTEGERvalueOf(String name)Returns the enum constant of this type with the specified name.static CAST_INTEGER[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROUND
public static final CAST_INTEGER ROUND
-
CEILING
public static final CAST_INTEGER CEILING
-
FLOOR
public static final CAST_INTEGER FLOOR
-
-
Method Detail
-
values
public static CAST_INTEGER[] 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 (CAST_INTEGER c : CAST_INTEGER.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CAST_INTEGER 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
-
byName
public static CAST_INTEGER byName(String name)
-
-