Serializable, Comparable<FormatService.FormatType>public static enum FormatService.FormatType extends Enum<FormatService.FormatType>
| Enum Constant | Description |
|---|---|
QUANTITY_FORMAT |
|
UNIT_FORMAT |
| Modifier and Type | Method | Description |
|---|---|---|
static FormatService.FormatType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static FormatService.FormatType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormatService.FormatType UNIT_FORMAT
public static final FormatService.FormatType QUANTITY_FORMAT
public static FormatService.FormatType[] values()
for (FormatService.FormatType c : FormatService.FormatType.values()) System.out.println(c);
public static FormatService.FormatType 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 © 2014–2019 Jean-Marie Dautelle, Werner Keil, Otavio Santana. All rights reserved.