Enum Constant and Description |
---|
GAUSS
gauss (G)
|
KILOGAUSS
kilogauss (kG)
|
MILLITESLA
millitesla (mT)
|
TESLA
tesla (T)
|
Modifier and Type | Method and Description |
---|---|
double |
getFactorForTesla() |
static FieldUnit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FieldUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldUnit TESLA
public static final FieldUnit MILLITESLA
public static final FieldUnit GAUSS
public static final FieldUnit KILOGAUSS
public static FieldUnit[] values()
for (FieldUnit c : FieldUnit.values()) System.out.println(c);
public static FieldUnit 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 nullpublic double getFactorForTesla()