|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.clarkparsia.stardog.api.search.SearchResult
public final class SearchResult
Simple search result data structure.
| Method Summary | |
|---|---|
SearchResult |
copy()
|
static SearchResult |
create(Resource theHit,
double theScore,
int theIndex)
|
boolean |
equals(Object o)
|
Resource |
getHit()
Return the actual search hit |
int |
getIndex()
Return the index of the hit in the results |
double |
getScore()
Return the score of the hit |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static SearchResult create(Resource theHit,
double theScore,
int theIndex)
public SearchResult copy()
copy in interface Copyable<SearchResult>public double getScore()
public int getIndex()
public Resource getHit()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||