|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectir.vsr.Retrieval
public class Retrieval
A lightweight object for storing information about a retrieved Document.
| Field Summary | |
|---|---|
DocumentReference |
docRef
A reference to the Document being retrieved |
double |
score
The score given to this document by a retrieval engine. |
| Constructor Summary | |
|---|---|
Retrieval(DocumentReference docRef,
double score)
Create a retrieval with these values |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object obj)
Compares this Retrieval to another for sorting from best to worst. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public DocumentReference docRef
public double score
| Constructor Detail |
|---|
public Retrieval(DocumentReference docRef,
double score)
| Method Detail |
|---|
public int compareTo(java.lang.Object obj)
compareTo in interface java.lang.Comparableobj - The Retrieval to compare with.
Arrays.sort(long[])
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||