@Beta public enum PiMeterType extends java.lang.Enum<PiMeterType>
| Enum Constant and Description |
|---|
DIRECT
Identifies a meter associated to a match-action table, where meter cells are directly associated to table
entries.
|
INDIRECT
Identifies a meter not associated with any other resource.
|
| Modifier and Type | Method and Description |
|---|---|
static PiMeterType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PiMeterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PiMeterType DIRECT
public static final PiMeterType INDIRECT
public static PiMeterType[] values()
for (PiMeterType c : PiMeterType.values()) System.out.println(c);
public static PiMeterType 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