public static enum Length.PhysicalUnit extends Enum<Length.PhysicalUnit>
Modifier and Type | Method and Description |
---|---|
static Length.PhysicalUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Length.PhysicalUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Length.PhysicalUnit MM
public static final Length.PhysicalUnit CM
public static final Length.PhysicalUnit PT
public static final Length.PhysicalUnit PA
public static final Length.PhysicalUnit IN
public static Length.PhysicalUnit[] values()
for (Length.PhysicalUnit c : Length.PhysicalUnit.values()) System.out.println(c);
public static Length.PhysicalUnit 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 nullRevision 4.0.15 / 20220727-0149