|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dftproject.genesis.core.search.Hit
public class Hit
A hit represents a search result with it's score.
| Field Summary | |
|---|---|
IResourceNode |
individual
The search result. |
double |
score
This search result's score. |
| Constructor Summary | |
|---|---|
Hit(double score,
IResourceNode individual)
Creates a hit with the given score and search result. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public double score
public IResourceNode individual
| Constructor Detail |
|---|
public Hit(double score,
IResourceNode individual)
score - a scoreindividual - a search result| Method Detail |
|---|
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||