Class Rank

  • All Implemented Interfaces:
    java.lang.Comparable<Rank>

    public class Rank
    extends Annotated
    implements java.lang.Comparable<Rank>
    The final score given to a CandidateMention by a RankingFunction
    Since:
    5.2
    Version:
    5.2
    Author:
    Pedro Oliveira
    • Constructor Detail

    • Method Detail

      • score

        public double score()
      • compareTo

        public int compareTo​(Rank o)
        Specified by:
        compareTo in interface java.lang.Comparable<Rank>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Annotated