public static enum Comparisons.Monotonicity extends Enum<Comparisons.Monotonicity>
| Enum Constant and Description |
|---|
ALL_EQUAL
All equal: x_0 == x_1 == x_2 ...
|
NONDECREASING
Non-decreasing or weakly increasing x_0 <= x_1 <= x_2 ...
|
NONINCREASING
Non-increasing or weakly decreasing x_0 >= x_1 >= x_2 ...
|
NOT_ORDERED
No order: x_0 != x_1 != x_2 ...
|
STRICTLY_DECREASING
Strictly decreasing x_0 > x_1 > x_2 ...
|
STRICTLY_INCREASING
Strictly increasing x_0 < x_1 < x_2 ...
|
| Modifier and Type | Method and Description |
|---|---|
static Comparisons.Monotonicity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Comparisons.Monotonicity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Comparisons.Monotonicity NOT_ORDERED
public static final Comparisons.Monotonicity ALL_EQUAL
public static final Comparisons.Monotonicity STRICTLY_DECREASING
public static final Comparisons.Monotonicity NONINCREASING
public static final Comparisons.Monotonicity NONDECREASING
public static final Comparisons.Monotonicity STRICTLY_INCREASING
public static Comparisons.Monotonicity[] values()
for (Comparisons.Monotonicity c : Comparisons.Monotonicity.values()) System.out.println(c);
public static Comparisons.Monotonicity valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2014–2017 Eclipse Foundation. All rights reserved.