com.yahoo.shopping
Class NraHit
java.lang.Object
com.yahoo.shopping.NraHit
public class NraHit
- extends java.lang.Object
NraHit encapsulates a Hit along with its lower and upper bound. The objects are used for sorting the hits in the merge algorithm in XSearcher.
- Author:
- Anne Siri Korsen & Trond Řivind Eriksen.
Constructor Summary |
NraHit(int lowerBound,
int upperBound,
com.yahoo.prelude.Hit hit)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lowerBound
private int lowerBound
upperBound
private int upperBound
hit
private com.yahoo.prelude.Hit hit
NraHit
public NraHit(int lowerBound,
int upperBound,
com.yahoo.prelude.Hit hit)
getLowerBound
public int getLowerBound()
getUpperBound
public int getUpperBound()
getHit
public com.yahoo.prelude.Hit getHit()