public enum PtmScore extends Enum<PtmScore>
| Enum Constant and Description |
|---|
AScore
The A score.
|
PhosphoRS
The PhosphoRS score.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getCommandLineOptions()
Returns the different implemented scores as list of command line option.
|
int |
getId()
Returns the id number of the score.
|
static ArrayList<PtmScore> |
getImplementedPtmScores()
Returns a list of the implemented scores.
|
String |
getName()
Returns the name of the score.
|
static PtmScore |
getScore(int id)
Returns the PTM score indexed by the given id.
|
static PtmScore |
getScore(String name)
Returns the PTM score of the given name.
|
static String[] |
getScoreNames()
Returns a list containing the names of the implemented scores.
|
static PtmScore |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PtmScore[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PtmScore AScore
public static final PtmScore PhosphoRS
public static PtmScore[] values()
for (PtmScore c : PtmScore.values()) System.out.println(c);
public static PtmScore 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 int getId()
public String getName()
public static ArrayList<PtmScore> getImplementedPtmScores()
public static PtmScore getScore(int id)
id - the id number of the PTM scorepublic static PtmScore getScore(String name)
name - the name of the scorepublic static String getCommandLineOptions()
public static String[] getScoreNames()
Copyright © 2014. All rights reserved.