org.galagosearch.core.retrieval
Class ScoredDocument

java.lang.Object
  extended by org.galagosearch.core.retrieval.ScoredDocument
All Implemented Interfaces:
java.lang.Comparable<ScoredDocument>

public class ScoredDocument
extends java.lang.Object
implements java.lang.Comparable<ScoredDocument>

Author:
trevor

Field Summary
 int document
           
 double score
           
 
Constructor Summary
ScoredDocument(int document, double score)
           
 
Method Summary
 int compareTo(ScoredDocument other)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

document

public int document

score

public double score
Constructor Detail

ScoredDocument

public ScoredDocument(int document,
                      double score)
Method Detail

compareTo

public int compareTo(ScoredDocument other)
Specified by:
compareTo in interface java.lang.Comparable<ScoredDocument>

toString

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


Copyright © 2009. All Rights Reserved.