public static enum PTMScoringPreferences.ProbabilisticScore extends Enum<PTMScoringPreferences.ProbabilisticScore>
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the probabilistic score.
|
static PTMScoringPreferences.ProbabilisticScore[] |
getPossibilities()
Returns a list of implemented probabilistic scores.
|
static String[] |
getPossibilitiesAsString()
Returns a list of the names of the implemented probabilistic scores.
|
static PTMScoringPreferences.ProbabilisticScore |
getProbabilisticScoreFromName(String name)
Returns the probabilistic score corresponding to a name.
|
static PTMScoringPreferences.ProbabilisticScore |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PTMScoringPreferences.ProbabilisticScore[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PTMScoringPreferences.ProbabilisticScore AScore
public static final PTMScoringPreferences.ProbabilisticScore PhosphoRS
public static PTMScoringPreferences.ProbabilisticScore[] values()
for (PTMScoringPreferences.ProbabilisticScore c : PTMScoringPreferences.ProbabilisticScore.values()) System.out.println(c);
public static PTMScoringPreferences.ProbabilisticScore 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 getName()
public static PTMScoringPreferences.ProbabilisticScore getProbabilisticScoreFromName(String name)
name
- the name of the score of interestpublic static PTMScoringPreferences.ProbabilisticScore[] getPossibilities()
public static String[] getPossibilitiesAsString()
Copyright © 2013. All Rights Reserved.