public static enum PrettyPrinter.Unit extends Enum<PrettyPrinter.Unit>
| Enum Constant and Description | 
|---|
NONE  | 
TIME_INTERVAL  | 
| Modifier and Type | Method and Description | 
|---|---|
static PrettyPrinter.Unit | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static PrettyPrinter.Unit[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final PrettyPrinter.Unit TIME_INTERVAL
public static final PrettyPrinter.Unit NONE
public static PrettyPrinter.Unit[] values()
for (PrettyPrinter.Unit c : PrettyPrinter.Unit.values()) System.out.println(c);
public static PrettyPrinter.Unit 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 © 2007-2016 The Apache Software Foundation. All Rights Reserved.