public enum MarkMode extends Enum<MarkMode>
| Enum Constant and Description |
|---|
FOUND |
NOT_FOUND |
STREAM_END |
| Modifier and Type | Method and Description |
|---|---|
static MarkMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MarkMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MarkMode STREAM_END
public static final MarkMode NOT_FOUND
public static final MarkMode FOUND
public static MarkMode[] values()
for (MarkMode c : MarkMode.values()) System.out.println(c);
public static MarkMode 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.