public enum ReadState extends Enum<ReadState>
AsyncRead| Modifier and Type | Field and Description |
|---|---|
static EnumSet<ReadState> |
FINAL_STATES |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFinal() |
static ReadState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReadState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadState Waiting
public static final ReadState Complete
public static final ReadState Error
public static ReadState[] values()
for (ReadState c : ReadState.values()) System.out.println(c);
public static ReadState 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 boolean isFinal()
Copyright © 2026. All rights reserved.