public static enum ExtremumOperator.Extreme extends java.lang.Enum<ExtremumOperator.Extreme>
Modifier and Type | Method and Description |
---|---|
<T> T |
pickFrom(java.util.SortedMap<T,java.lang.Integer> nonEmptyMultiSet) |
static ExtremumOperator.Extreme |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExtremumOperator.Extreme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtremumOperator.Extreme MIN
public static final ExtremumOperator.Extreme MAX
public static ExtremumOperator.Extreme[] values()
for (ExtremumOperator.Extreme c : ExtremumOperator.Extreme.values()) System.out.println(c);
public static ExtremumOperator.Extreme 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 <T> T pickFrom(java.util.SortedMap<T,java.lang.Integer> nonEmptyMultiSet)