public static enum PrettyPrinter.Unit extends Enum<PrettyPrinter.Unit>
| 枚举常量和说明 |
|---|
NONE |
TIME_INTERVAL |
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.