|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.egothor.cache.CachedResult
public class CachedResult
Represents a complete result of a query. Contains resulting hits, number of scanned and guessed hits.
| Constructor Summary | |
|---|---|
CachedResult(java.util.ArrayList<Hit> hits,
long wouldBe,
long positives)
Constructor for the CachedResult object. |
|
| Method Summary | |
|---|---|
Hit[] |
getHits()
Gets the hits. |
long |
getPositives()
Returns the number of scanned hits. |
long |
getWouldBe()
Returns the number guessed hits. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CachedResult(java.util.ArrayList<Hit> hits,
long wouldBe,
long positives)
hits - hits stored by this resultwouldBe - number of guessed hitspositives - number of scanned hits| Method Detail |
|---|
public Hit[] getHits()
public long getWouldBe()
public long getPositives()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||