public enum BaseDimension extends Enum<BaseDimension>
Enum Constant and Description |
---|
AMOUNT |
CURRENT |
LENGTH |
LUMINOUS_INTENSITY |
MASS |
TEMPERATURE |
TIME |
Modifier and Type | Method and Description |
---|---|
static BaseDimension |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BaseDimension[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaseDimension MASS
public static final BaseDimension LENGTH
public static final BaseDimension TIME
public static final BaseDimension CURRENT
public static final BaseDimension TEMPERATURE
public static final BaseDimension AMOUNT
public static final BaseDimension LUMINOUS_INTENSITY
public static BaseDimension[] values()
for (BaseDimension c : BaseDimension.values()) System.out.println(c);
public static BaseDimension 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 © 2020. All rights reserved.