public static enum PConstraint.CompareByMonotonousID extends java.lang.Enum<PConstraint.CompareByMonotonousID> implements java.util.Comparator<PConstraint>
PConstraint.getMonotonousID()| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(PConstraint arg0,
PConstraint arg1) |
static PConstraint.CompareByMonotonousID |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PConstraint.CompareByMonotonousID[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PConstraint.CompareByMonotonousID INSTANCE
public static PConstraint.CompareByMonotonousID[] values()
for (PConstraint.CompareByMonotonousID c : PConstraint.CompareByMonotonousID.values()) System.out.println(c);
public static PConstraint.CompareByMonotonousID valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int compare(PConstraint arg0, PConstraint arg1)
compare in interface java.util.Comparator<PConstraint>