public static enum Klv.KeyLength extends Enum<Klv.KeyLength>
Enum Constant and Description |
---|
FourBytes |
OneByte |
SixteenBytes |
TwoBytes |
Modifier and Type | Method and Description |
---|---|
int |
value()
Returns the number of bytes used in the key.
|
static Klv.KeyLength |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Klv.KeyLength[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Klv.KeyLength OneByte
public static final Klv.KeyLength TwoBytes
public static final Klv.KeyLength FourBytes
public static final Klv.KeyLength SixteenBytes
public static Klv.KeyLength[] values()
for (Klv.KeyLength c : Klv.KeyLength.values()) System.out.println(c);
public static Klv.KeyLength valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int value()
This work is licensed under a Creative Commons Attribution 4.0 International License.