public enum Relation extends java.lang.Enum<Relation>
and, or, and not.
Attributes of type Relation cannot take on any other values.
| Modifier and Type | Method | Description |
|---|---|---|
static Relation |
valueOf(java.lang.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(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 nullCopyright © 2009–2022. All rights reserved.