Package org.jppf.utils
Enum Class Operator
- All Implemented Interfaces:
Serializable,Comparable<Operator>,Constable,ComparisonOperator
Enumeration of the possible boolean operators that can be used as a comparison predicates for integer/long values.
- Author:
- Laurent Cohen
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe number of connections is at least the expected number.The number of connections is at most the expected number.The number of connections is equal to the expected number.The number of connections is strictly less than the expected number.The number of connections is strictly greater than the expected number.The number of connections is different from the expected number. -
Method Summary
Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOfMethods inherited from interface org.jppf.utils.ComparisonOperator
evaluate
-
Enum Constant Details
-
EQUAL
The number of connections is equal to the expected number. -
NOT_EQUAL
The number of connections is different from the expected number. -
AT_LEAST
The number of connections is at least the expected number. -
AT_MOST
The number of connections is at most the expected number. -
MORE_THAN
The number of connections is strictly greater than the expected number. -
LESS_THAN
The number of connections is strictly less than the expected number.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
-