com.yahoo.shopping
Class NraHit

java.lang.Object
  extended by 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.

Field Summary
private  com.yahoo.prelude.Hit hit
           
private  int lowerBound
           
private  int upperBound
           
 
Constructor Summary
NraHit(int lowerBound, int upperBound, com.yahoo.prelude.Hit hit)
           
 
Method Summary
 com.yahoo.prelude.Hit getHit()
           
 int getLowerBound()
           
 int getUpperBound()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lowerBound

private int lowerBound

upperBound

private int upperBound

hit

private com.yahoo.prelude.Hit hit
Constructor Detail

NraHit

public NraHit(int lowerBound,
              int upperBound,
              com.yahoo.prelude.Hit hit)
Method Detail

getLowerBound

public int getLowerBound()

getUpperBound

public int getUpperBound()

getHit

public com.yahoo.prelude.Hit getHit()