public static enum TextAreaReadline.Channel extends Enum<TextAreaReadline.Channel>
Enum Constant and Description |
---|
AVAILABLE |
BUFFER |
EMPTY |
FINISHED |
GET_LINE |
LINE |
READ |
SHUTDOWN |
Modifier and Type | Method and Description |
---|---|
static TextAreaReadline.Channel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextAreaReadline.Channel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextAreaReadline.Channel AVAILABLE
public static final TextAreaReadline.Channel READ
public static final TextAreaReadline.Channel BUFFER
public static final TextAreaReadline.Channel EMPTY
public static final TextAreaReadline.Channel LINE
public static final TextAreaReadline.Channel GET_LINE
public static final TextAreaReadline.Channel SHUTDOWN
public static final TextAreaReadline.Channel FINISHED
public static TextAreaReadline.Channel[] values()
for (TextAreaReadline.Channel c : TextAreaReadline.Channel.values()) System.out.println(c);
public static TextAreaReadline.Channel 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 © 2001–2016 JRuby. All rights reserved.