public static enum MeasurementUnit.Family extends Enum<MeasurementUnit.Family>
Enum Constant and Description |
---|
ABSOLUTE |
BITS |
BYTES |
DURATION |
RATE |
RELATIVE |
TEMPERATURE |
TIME |
Modifier and Type | Method and Description |
---|---|
static MeasurementUnit.Family |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MeasurementUnit.Family[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MeasurementUnit.Family ABSOLUTE
public static final MeasurementUnit.Family BITS
public static final MeasurementUnit.Family BYTES
public static final MeasurementUnit.Family DURATION
public static final MeasurementUnit.Family RELATIVE
public static final MeasurementUnit.Family RATE
public static final MeasurementUnit.Family TIME
public static final MeasurementUnit.Family TEMPERATURE
public static MeasurementUnit.Family[] values()
for (MeasurementUnit.Family c : MeasurementUnit.Family.values()) System.out.println(c);
public static MeasurementUnit.Family 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 © 2021 JBoss by Red Hat. All rights reserved.