public static enum NMRSpectrum.Nucleus extends Enum<NMRSpectrum.Nucleus>
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static NMRSpectrum.Nucleus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NMRSpectrum.Nucleus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NMRSpectrum.Nucleus C13
public static final NMRSpectrum.Nucleus H1
public static NMRSpectrum.Nucleus[] values()
for (NMRSpectrum.Nucleus c : NMRSpectrum.Nucleus.values()) System.out.println(c);
public static NMRSpectrum.Nucleus 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 toString()
toString in class Enum<NMRSpectrum.Nucleus>