public static enum IonMatch.MzErrorType extends Enum<IonMatch.MzErrorType>
Enum Constant and Description |
---|
Absolute |
RelativePpm |
Statistical |
Modifier and Type | Field and Description |
---|---|
String |
description
The description of the error type.
|
String |
name
The name of the error type.
|
String |
unit
The unit to use
|
Modifier and Type | Method and Description |
---|---|
static IonMatch.MzErrorType |
getMzErrorType(int index)
Returns the error type corresponding to the given index.
|
static IonMatch.MzErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IonMatch.MzErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IonMatch.MzErrorType Absolute
public static final IonMatch.MzErrorType RelativePpm
public static final IonMatch.MzErrorType Statistical
public final String name
public final String description
public final String unit
public static IonMatch.MzErrorType[] values()
for (IonMatch.MzErrorType c : IonMatch.MzErrorType.values()) System.out.println(c);
public static IonMatch.MzErrorType 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 static IonMatch.MzErrorType getMzErrorType(int index)
index
- the index of the error type in the values() methodCopyright © 2016. All rights reserved.