public enum PiTableType extends java.lang.Enum<PiTableType>
Enum Constant and Description |
---|
DIRECT
Regular match+action table.
|
INDIRECT
Implementation-based table, e.g.
|
Modifier and Type | Method and Description |
---|---|
static PiTableType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PiTableType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PiTableType DIRECT
public static final PiTableType INDIRECT
public static PiTableType[] values()
for (PiTableType c : PiTableType.values()) System.out.println(c);
public static PiTableType 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