public enum AdditionalInformation extends Enum<AdditionalInformation>
Enum Constant and Description |
---|
DIRECT |
EIGHT_BYTES |
FOUR_BYTES |
INDEFINITE |
ONE_BYTE |
RESERVED |
TWO_BYTES |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static AdditionalInformation |
ofByte(int b) |
static AdditionalInformation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdditionalInformation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdditionalInformation DIRECT
public static final AdditionalInformation ONE_BYTE
public static final AdditionalInformation TWO_BYTES
public static final AdditionalInformation FOUR_BYTES
public static final AdditionalInformation EIGHT_BYTES
public static final AdditionalInformation RESERVED
public static final AdditionalInformation INDEFINITE
public static AdditionalInformation[] values()
for (AdditionalInformation c : AdditionalInformation.values()) System.out.println(c);
public static AdditionalInformation 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 getValue()
public static AdditionalInformation ofByte(int b)
Copyright © 2014. All Rights Reserved.