public static enum ProtocolCodec.BufferState extends Enum<ProtocolCodec.BufferState>
Modifier and Type | Method and Description |
---|---|
static ProtocolCodec.BufferState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolCodec.BufferState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtocolCodec.BufferState EMPTY
public static final ProtocolCodec.BufferState WAS_EMPTY
public static final ProtocolCodec.BufferState NOT_EMPTY
public static final ProtocolCodec.BufferState FULL
public static ProtocolCodec.BufferState[] values()
for (ProtocolCodec.BufferState c : ProtocolCodec.BufferState.values()) System.out.println(c);
public static ProtocolCodec.BufferState 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 © 2010–2017 FuseSource, Corp.. All rights reserved.