public enum UnitsCV extends Enum<UnitsCV>
| Enum Constant and Description |
|---|
UO_HOURS |
UO_MICROSECONDS |
UO_MILLISECONDS |
UO_MINUTES |
UO_NANOSECONDS |
UO_SECONDS |
| Modifier and Type | Field and Description |
|---|---|
String |
accession |
String |
name |
TimeUnit |
timeUnit |
| Modifier and Type | Method and Description |
|---|---|
static double |
inMinutes(String uoAccession,
String value)
Converts mzML representation of time into minutes.
|
static UnitsCV |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnitsCV[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitsCV UO_NANOSECONDS
public static final UnitsCV UO_MICROSECONDS
public static final UnitsCV UO_MILLISECONDS
public static final UnitsCV UO_SECONDS
public static final UnitsCV UO_MINUTES
public static final UnitsCV UO_HOURS
public final String accession
public final String name
public final TimeUnit timeUnit
public static UnitsCV[] values()
for (UnitsCV c : UnitsCV.values()) System.out.println(c);
public static UnitsCV 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 nullCopyright © 2017. All rights reserved.