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. As a result, this is a flexible cache that can store any score as a key-value object.
property- A string identifying the score and suitable for printing in headers. Example names found in:
score- Value of the score
property- Name of the score to fetch
Copyright © 2000–2016 BioJava. All rights reserved.