public static enum LineReader.RegionType extends Enum<LineReader.RegionType>
Modifier and Type | Method and Description |
---|---|
static LineReader.RegionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineReader.RegionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineReader.RegionType NONE
public static final LineReader.RegionType CHAR
public static final LineReader.RegionType LINE
public static LineReader.RegionType[] values()
for (LineReader.RegionType c : LineReader.RegionType.values()) System.out.println(c);
public static LineReader.RegionType 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 © 2017. All rights reserved.