public enum IoState extends Enum<IoState>
Enum Constant and Description |
---|
IDLE
No activity going on.
|
INTEREST
IO interest reported.
|
PROCESSING
IO activity going on.
|
READY
IO ready to be processed.
|
Modifier and Type | Method and Description |
---|---|
static IoState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IoState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IoState IDLE
public static final IoState INTEREST
public static final IoState READY
public static final IoState PROCESSING
public static IoState[] values()
for (IoState c : IoState.values()) System.out.println(c);
public static IoState 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 © 2005–2014. All rights reserved.