Serializable
, Comparable<DocumentOrder>
public enum DocumentOrder extends Enum<DocumentOrder>
Modifier and Type | Method | Description |
---|---|---|
static DocumentOrder |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static DocumentOrder[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentOrder YES
public static final DocumentOrder NO
public static DocumentOrder[] values()
for (DocumentOrder c : DocumentOrder.values()) System.out.println(c);
public static DocumentOrder 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 © 2019 Apache Software Foundation. All rights reserved.