public static enum ChannelStateReader.ReadResult extends Enum<ChannelStateReader.ReadResult>
Enum Constant and Description |
---|
HAS_MORE_DATA |
NO_MORE_DATA |
Modifier and Type | Method and Description |
---|---|
static ChannelStateReader.ReadResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelStateReader.ReadResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelStateReader.ReadResult HAS_MORE_DATA
public static final ChannelStateReader.ReadResult NO_MORE_DATA
public static ChannelStateReader.ReadResult[] values()
for (ChannelStateReader.ReadResult c : ChannelStateReader.ReadResult.values()) System.out.println(c);
public static ChannelStateReader.ReadResult 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–2021 The Apache Software Foundation. All rights reserved.