public static enum PcpScale.UnitScale extends java.lang.Enum<PcpScale.UnitScale> implements PcpScale<javax.measure.quantity.Dimensionless>
PcpScale.SpaceScale, PcpScale.TimeScale, PcpScale.UnitScale
Enum Constant and Description |
---|
BILLION |
MILLION |
THOUSAND |
TRILLION |
UNIT |
Modifier and Type | Field and Description |
---|---|
private int |
pmUnitsValue |
private javax.measure.Unit<javax.measure.quantity.Dimensionless> |
unit |
Modifier and Type | Method and Description |
---|---|
int |
getPmUnitsValue() |
javax.measure.Unit<javax.measure.quantity.Dimensionless> |
getUnit() |
static PcpScale.UnitScale |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PcpScale.UnitScale[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PcpScale.UnitScale UNIT
public static final PcpScale.UnitScale THOUSAND
public static final PcpScale.UnitScale MILLION
public static final PcpScale.UnitScale BILLION
public static final PcpScale.UnitScale TRILLION
private final int pmUnitsValue
private final javax.measure.Unit<javax.measure.quantity.Dimensionless> unit
public static PcpScale.UnitScale[] values()
for (PcpScale.UnitScale c : PcpScale.UnitScale.values()) System.out.println(c);
public static PcpScale.UnitScale 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 javax.measure.Unit<javax.measure.quantity.Dimensionless> getUnit()
public int getPmUnitsValue()
getPmUnitsValue
in interface UnitValued