| Enum Constant and Description |
|---|
ACC |
ANY |
BAK |
DOWN |
LAST |
LEFT |
NIL |
PC |
RIGHT |
UP |
| Modifier and Type | Field and Description |
|---|---|
static Target[] |
FROM_PORT |
static Port[] |
TO_PORT |
static java.util.Set<Target> |
VALID_TARGETS |
| Modifier and Type | Method and Description |
|---|---|
static Target |
fromPort(Port port) |
static Port |
toPort(Target target) |
static Target |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Target[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Target PC
public static final Target ACC
public static final Target BAK
public static final Target NIL
public static final Target LEFT
public static final Target RIGHT
public static final Target UP
public static final Target DOWN
public static final Target ANY
public static final Target LAST
public static final java.util.Set<Target> VALID_TARGETS
public static final Port[] TO_PORT
public static final Target[] FROM_PORT
public static Target[] values()
for (Target c : Target.values()) System.out.println(c);
public static Target 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 null