public static enum MeasureUnit.Complexity extends java.lang.Enum<MeasureUnit.Complexity>
Enum Constant and Description |
---|
COMPOUND
A compound unit, like meter-per-second.
|
MIXED
A mixed unit, like hour-and-minute.
|
SINGLE
A single unit, like kilojoule.
|
Modifier and Type | Method and Description |
---|---|
static MeasureUnit.Complexity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MeasureUnit.Complexity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MeasureUnit.Complexity SINGLE
public static final MeasureUnit.Complexity COMPOUND
public static final MeasureUnit.Complexity MIXED
public static MeasureUnit.Complexity[] values()
for (MeasureUnit.Complexity c : MeasureUnit.Complexity.values()) System.out.println(c);
public static MeasureUnit.Complexity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright ? 2016 Unicode, Inc. and others.