public enum UnitsOfVoltage extends Enum<UnitsOfVoltage>
Java class for Units_of_Voltage.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Units_of_Voltage"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="V"/> <enumeration value="mV"/> </restriction> </simpleType>
Modifier and Type | Method and Description |
---|---|
static UnitsOfVoltage |
fromValue(String v) |
String |
value() |
static UnitsOfVoltage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnitsOfVoltage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitsOfVoltage V
public static final UnitsOfVoltage M_V
public static UnitsOfVoltage[] values()
for (UnitsOfVoltage c : UnitsOfVoltage.values()) System.out.println(c);
public static UnitsOfVoltage valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static UnitsOfVoltage fromValue(String v)
Copyright © 2010–2018 Planetary Data System. All rights reserved.