it.amattioli.dominate.specifications
Enum TotalOrderComparisonType
java.lang.Object
java.lang.Enum<TotalOrderComparisonType>
it.amattioli.dominate.specifications.TotalOrderComparisonType
- All Implemented Interfaces:
- Serializable, Comparable<TotalOrderComparisonType>
public enum TotalOrderComparisonType
- extends Enum<TotalOrderComparisonType>
EQUAL
public static final TotalOrderComparisonType EQUAL
NOT_EQUAL
public static final TotalOrderComparisonType NOT_EQUAL
GREATER
public static final TotalOrderComparisonType GREATER
GREATER_EQ
public static final TotalOrderComparisonType GREATER_EQ
LOWER
public static final TotalOrderComparisonType LOWER
LOWER_EQ
public static final TotalOrderComparisonType LOWER_EQ
values
public static TotalOrderComparisonType[] 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 (TotalOrderComparisonType c : TotalOrderComparisonType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TotalOrderComparisonType 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 name
NullPointerException - if the argument is null
isSatisfiedBy
public abstract <T extends Comparable<T>> boolean isSatisfiedBy(T arg1,
T arg2)
Copyright © 2011. All Rights Reserved.