public enum MomentUnit extends java.lang.Enum<MomentUnit>
Enum Constant and Description |
---|
AM
amperes per metre (A/m)
|
KILOAM
kiloamperes per metre (kA/m); equivalent to emu/cm³
|
MILLIAM
milliamperes per metre (mA/m)
|
Modifier and Type | Method and Description |
---|---|
double |
getFactorForAm() |
static MomentUnit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MomentUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MomentUnit AM
public static final MomentUnit MILLIAM
public static final MomentUnit KILOAM
public static MomentUnit[] values()
for (MomentUnit c : MomentUnit.values()) System.out.println(c);
public static MomentUnit 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 getFactorForAm()