public enum Relation extends Enum<Relation>
and, or, and not.
Attributes of type Relation cannot take on any other values.
| Modifier and Type | Method and Description |
|---|---|
static Relation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Relation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Relation and
public static final Relation or
public static final Relation not
public static Relation[] values()
for (Relation c : Relation.values()) System.out.println(c);
public static 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 © 2009–2017. All rights reserved.