public static enum ListFormatter.Type extends Enum<ListFormatter.Type>
Enum.EnumDesc<E extends Enum<E>>| Enum Constant and Description |
|---|
AND
Conjunction formatting, e.g.
|
OR
Disjunction (or alternative, or simply one of) formatting, e.g.
|
UNITS
Formatting of a list of values with units, e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static ListFormatter.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListFormatter.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListFormatter.Type AND
public static final ListFormatter.Type OR
public static final ListFormatter.Type UNITS
public static ListFormatter.Type[] values()
public static ListFormatter.Type 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 null