public static enum SequenceMatchingPreferences.MatchingType extends Enum<SequenceMatchingPreferences.MatchingType>
Enum Constant and Description |
---|
aminoAcid
Matches amino acids.
|
indistiguishableAminoAcids
Matches amino acids of indistinguishable masses (I/L).
|
string
Matches character strings only.
|
Modifier and Type | Field and Description |
---|---|
String |
description
The description.
|
int |
index
The index of the type as integer.
|
Modifier and Type | Method and Description |
---|---|
static String |
getCommandLineOptions()
Returns the different matching types as command line options description.
|
static SequenceMatchingPreferences.MatchingType |
getMatchingType(int index)
Returns the matching type corresponding to the given index.
|
String |
toString() |
static SequenceMatchingPreferences.MatchingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SequenceMatchingPreferences.MatchingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SequenceMatchingPreferences.MatchingType string
public static final SequenceMatchingPreferences.MatchingType aminoAcid
public static final SequenceMatchingPreferences.MatchingType indistiguishableAminoAcids
public final int index
public final String description
public static SequenceMatchingPreferences.MatchingType[] values()
for (SequenceMatchingPreferences.MatchingType c : SequenceMatchingPreferences.MatchingType.values()) System.out.println(c);
public static SequenceMatchingPreferences.MatchingType 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<SequenceMatchingPreferences.MatchingType>
public static String getCommandLineOptions()
public static SequenceMatchingPreferences.MatchingType getMatchingType(int index)
index
- the index of the matching typeCopyright © 2016. All rights reserved.