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