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