public static enum TextProtocol.TOKENS extends Enum<TextProtocol.TOKENS>
| Enum Constant and Description |
|---|
FIRST_PAYLOAD_TOKEN |
ID_TOKEN |
NAME_TOKEN |
OP_TOKEN |
VERSION_TOKEN |
| Modifier and Type | Method and Description |
|---|---|
static TextProtocol.TOKENS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextProtocol.TOKENS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextProtocol.TOKENS VERSION_TOKEN
public static final TextProtocol.TOKENS NAME_TOKEN
public static final TextProtocol.TOKENS ID_TOKEN
public static final TextProtocol.TOKENS OP_TOKEN
public static final TextProtocol.TOKENS FIRST_PAYLOAD_TOKEN
public static TextProtocol.TOKENS[] values()
for (TextProtocol.TOKENS c : TextProtocol.TOKENS.values()) System.out.println(c);
public static TextProtocol.TOKENS 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 © 2024. All rights reserved.