public enum ElectricCharge extends java.lang.Enum<ElectricCharge> implements MeasurementUnit
Enum Constant and Description |
---|
ABCOULOMB
A
|
AMPER_HOUR
Amper hour electric charge.
|
CHARGE_NUMBER
C
|
COULOMB
Coulomb electric charge.
|
ELEMENTARY_CHARGE
E
|
FARADAY_CONSTANT
F
|
PLANK_CHARGE
P
|
STATCOULOMB
S
|
Modifier and Type | Method and Description |
---|---|
Measurement |
getMeasurementGroup()
Gets measurement group.
|
static ElectricCharge |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ElectricCharge[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="abcoulomb") public static final ElectricCharge ABCOULOMB
@SerializedName(value="amperehour") public static final ElectricCharge AMPER_HOUR
@SerializedName(value="chargenumber") public static final ElectricCharge CHARGE_NUMBER
@SerializedName(value="coulomb") public static final ElectricCharge COULOMB
@SerializedName(value="elementarycharge") public static final ElectricCharge ELEMENTARY_CHARGE
@SerializedName(value="faradayconstant") public static final ElectricCharge FARADAY_CONSTANT
@SerializedName(value="planckcharge") public static final ElectricCharge PLANK_CHARGE
@SerializedName(value="statcoulomb") public static final ElectricCharge STATCOULOMB
public static ElectricCharge[] values()
for (ElectricCharge c : ElectricCharge.values()) System.out.println(c);
public static ElectricCharge 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 Measurement getMeasurementGroup()
MeasurementUnit
getMeasurementGroup
in interface MeasurementUnit