public static enum Decoder.State extends Enum<Decoder.State>
Enum Constant and Description |
---|
CONTINUE |
DONE |
ERR |
NEED_MORE_DATA |
Modifier and Type | Method and Description |
---|---|
static Decoder.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Decoder.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Decoder.State ERR
public static final Decoder.State NEED_MORE_DATA
public static final Decoder.State DONE
public static final Decoder.State CONTINUE
public static Decoder.State[] values()
for (Decoder.State c : Decoder.State.values()) System.out.println(c);
public static Decoder.State 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 nullCopyright © 2014 Oracle Corporation. All rights reserved.