public static enum Protocol.FormattingKey extends Enum<Protocol.FormattingKey> implements Protocol.ProtocolEnum
Enum Constant and Description |
---|
PRETTY_PRINT |
PRINT_INPUT_DELIMITER |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static Protocol.FormattingKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Protocol.FormattingKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protocol.FormattingKey PRETTY_PRINT
public static final Protocol.FormattingKey PRINT_INPUT_DELIMITER
public static Protocol.FormattingKey[] values()
for (Protocol.FormattingKey c : Protocol.FormattingKey.values()) System.out.println(c);
public static Protocol.FormattingKey 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 nullpublic String getValue()
getValue
in interface Protocol.ProtocolEnum
Copyright © 2009-2015 Google. All Rights Reserved.