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