Package uk.me.nxg.unity
Enum Dimensions.BaseQuantity
- java.lang.Object
-
- java.lang.Enum<Dimensions.BaseQuantity>
-
- uk.me.nxg.unity.Dimensions.BaseQuantity
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Dimensions.BaseQuantity>
- Enclosing class:
- Dimensions
public static enum Dimensions.BaseQuantity extends java.lang.Enum<Dimensions.BaseQuantity>
The base quantities in the International System of Quantites. See ISO 80000-1:2009.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMOUNT
CURRENT
LENGTH
LUMINOUSINTENSITY
MASS
TEMPERATURE
TIME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Dimensions.BaseQuantity
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Dimensions.BaseQuantity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LENGTH
public static final Dimensions.BaseQuantity LENGTH
-
MASS
public static final Dimensions.BaseQuantity MASS
-
TIME
public static final Dimensions.BaseQuantity TIME
-
CURRENT
public static final Dimensions.BaseQuantity CURRENT
-
TEMPERATURE
public static final Dimensions.BaseQuantity TEMPERATURE
-
AMOUNT
public static final Dimensions.BaseQuantity AMOUNT
-
LUMINOUSINTENSITY
public static final Dimensions.BaseQuantity LUMINOUSINTENSITY
-
-
Method Detail
-
values
public static Dimensions.BaseQuantity[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Dimensions.BaseQuantity c : Dimensions.BaseQuantity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Dimensions.BaseQuantity valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-