public enum UnitsOfEnergy extends java.lang.Enum<UnitsOfEnergy>
Java class for Units_of_Energy.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Units_of_Energy"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="J"/> <enumeration value="MeV"/> <enumeration value="eV"/> <enumeration value="keV"/> </restriction> </simpleType>
Modifier and Type | Method and Description |
---|---|
static UnitsOfEnergy |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static UnitsOfEnergy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UnitsOfEnergy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitsOfEnergy J
public static final UnitsOfEnergy ME_V
public static final UnitsOfEnergy E_V
public static final UnitsOfEnergy KE_V
public static UnitsOfEnergy[] values()
for (UnitsOfEnergy c : UnitsOfEnergy.values()) System.out.println(c);
public static UnitsOfEnergy 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 java.lang.String value()
public static UnitsOfEnergy fromValue(java.lang.String v)
Copyright © 2023 Planetary Data System. All rights reserved.