public interface ScoresCache
Implementations can treat this as a cache, with as much or as little persistence as required. If getScore() returns null, callers should recalculate the score and then store it for future calls. Implementations can therefore reset the cache if things which might impact the scores change.
A list of common scores are included to coordinate property names, but additional scores can be stored as well.
void putScore(String property, Double score)
property - A string identifying the score and suitable for printing in headers.
E.g. #SCORE_TMSCOREscore - Value of the scoreDouble getScore(String property)
putScore(String, Double).property - Name of the score to fetchCopyright © 2000-2015 BioJava. All Rights Reserved.