Class FeedbackDocument


  • public class FeedbackDocument
    extends java.lang.Object
    Class representing feedback documents, pseudo- or otherwise.
    Since:
    3.0
    Author:
    Craig Macdonald
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int docid
      Document id
      int rank
      rank
      byte relevance
      relevance value - it might not contain relevance value
      double score
      score - it might not contain score value
    • Constructor Summary

      Constructors 
      Constructor Description
      FeedbackDocument()
      default constructor
      FeedbackDocument​(int _docid, int _rank, double _score)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object y)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • docid

        public int docid
        Document id
      • rank

        public int rank
        rank
      • relevance

        public byte relevance
        relevance value - it might not contain relevance value
      • score

        public double score
        score - it might not contain score value
    • Constructor Detail

      • FeedbackDocument

        public FeedbackDocument()
        default constructor
      • FeedbackDocument

        public FeedbackDocument​(int _docid,
                                int _rank,
                                double _score)
        Constructor
        Parameters:
        _docid -
        _rank -
        _score -
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object y)
        Overrides:
        equals in class java.lang.Object