public static enum CodePrinter.Format extends java.lang.Enum<CodePrinter.Format>
Modifier and Type | Method and Description |
---|---|
static CodePrinter.Format |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CodePrinter.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodePrinter.Format COMPACT
public static final CodePrinter.Format PRETTY
public static final CodePrinter.Format TYPED
public static CodePrinter.Format[] values()
for (CodePrinter.Format c : CodePrinter.Format.values()) System.out.println(c);
public static CodePrinter.Format valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2009-2019 Google. All Rights Reserved.