Package org.jpmml.model.annotations
Enum CollectionSize.Operator
- java.lang.Object
-
- java.lang.Enum<CollectionSize.Operator>
-
- org.jpmml.model.annotations.CollectionSize.Operator
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CollectionSize.Operator>
- Enclosing class:
- CollectionSize
public static enum CollectionSize.Operator extends java.lang.Enum<CollectionSize.Operator>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUALGREATER_OR_EQUAL
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleancheck(int size, java.util.Collection<?> collection)static CollectionSize.OperatorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CollectionSize.Operator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUAL
public static final CollectionSize.Operator EQUAL
-
GREATER_OR_EQUAL
public static final CollectionSize.Operator GREATER_OR_EQUAL
-
-
Method Detail
-
values
public static CollectionSize.Operator[] 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 (CollectionSize.Operator c : CollectionSize.Operator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CollectionSize.Operator 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
-
check
public abstract boolean check(int size, java.util.Collection<?> collection)
-
-