|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sbc.orthoxml.Scoreable
public abstract class Scoreable
Allows to assign scores to subclasses.
Constructor Summary | |
---|---|
Scoreable()
|
Method Summary | |
---|---|
void |
addScore(ScoreDefinition scoreDefinition,
java.lang.Double score)
Adds a score for with given type. |
java.util.Set<ScoreDefinition> |
getDefinedScores()
Return all scores that are defined for this object. |
java.util.List<java.lang.Double> |
getScores(ScoreDefinition scoreDefinition)
Returns the scores for the given type. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Scoreable()
Method Detail |
---|
public void addScore(ScoreDefinition scoreDefinition, java.lang.Double score)
scoreDefinition
- the type of the scorescore
- the value of the scorepublic java.util.List<java.lang.Double> getScores(ScoreDefinition scoreDefinition)
scoreDefinition
- the type of the score
public java.util.Set<ScoreDefinition> getDefinedScores()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |