public static enum BPDU.BPDUType extends java.lang.Enum<BPDU.BPDUType>
Enum Constant and Description |
---|
CONFIG |
TOPOLOGY_CHANGE |
Modifier and Type | Method and Description |
---|---|
static BPDU.BPDUType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BPDU.BPDUType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BPDU.BPDUType CONFIG
public static final BPDU.BPDUType TOPOLOGY_CHANGE
public static BPDU.BPDUType[] values()
for (BPDU.BPDUType c : BPDU.BPDUType.values()) System.out.println(c);
public static BPDU.BPDUType 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