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
x_0 != x_1 != x_2 ...
public static final Comparisons.Monotonicity ALL_EQUAL
x_0 == x_1 == x_2 ...
public static final Comparisons.Monotonicity STRICTLY_DECREASING
x_0 > x_1 > x_2 ...
public static final Comparisons.Monotonicity NONINCREASING
x_0 >= x_1 >= x_2 ...
public static final Comparisons.Monotonicity NONDECREASING
x_0 <= x_1 <= x_2 ...
public static final Comparisons.Monotonicity STRICTLY_INCREASING
x_0 < x_1 < x_2 ...
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–2019 Eclipse Foundation. All rights reserved.