/**
* Score associated with label and description.
*/
- public float score= Float.NaN;
+ public double score= Double.NaN;
/**
* flag indicating if annotation has a score.
*/
{
return;
}
+ sequenceRef=seqRef;
if (annotations==null)
{
return;
}
sequenceMapping = new java.util.Hashtable();
- sequenceRef = seqRef;
int seqPos;
for (int i = 0; i < annotations.length; i++)
/**
* @return the score
*/
- public float getScore()
+ public double getScore()
{
return score;
}
/**
* @param score the score to set
*/
- public void setScore(float score)
+ public void setScore(double score)
{
+ hasScore=true;
this.score = score;
}
/**
*/
public boolean hasScore()
{
- return hasScore;
+ return hasScore || !Double.isNaN(score);
}
}