public static enum Option.Relation extends Enum<Option.Relation>
| Enum Constant and Description |
|---|
CONTAINED_IN |
CONTAINS |
EQUALS |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compare(Option a,
Option b) |
static Option.Relation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Option.Relation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Option.Relation EQUALS
public static final Option.Relation CONTAINS
public static final Option.Relation CONTAINED_IN
public static Option.Relation[] values()
for (Option.Relation c : Option.Relation.values()) System.out.println(c);
public static Option.Relation 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 © 2017. All rights reserved.