public static enum Comparator.Mode extends Enum<Comparator.Mode>
Enum Constant and Description |
---|
COMPARE
The default mode, similar to a transistor.
|
SUBTRACT
Alternate subtraction mode.
|
Modifier and Type | Method and Description |
---|---|
static Comparator.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Comparator.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Comparator.Mode COMPARE
public static final Comparator.Mode SUBTRACT
public static Comparator.Mode[] values()
for (Comparator.Mode c : Comparator.Mode.values()) System.out.println(c);
public static Comparator.Mode 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 © 2021. All rights reserved.