net.ontopia.topicmaps.query.spi
Class Hit

java.lang.Object
  extended by net.ontopia.topicmaps.query.spi.Hit

public class Hit
extends java.lang.Object

INTERNAL: Class that holds search hit data.


Constructor Summary
Hit(java.lang.Object value, float score)
           
 
Method Summary
 float getScore()
          INTERNAL: Gets the score ;
 java.lang.Object getValue()
          INTERNAL: Gets the result value.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Hit

public Hit(java.lang.Object value,
           float score)
Method Detail

getValue

public java.lang.Object getValue()
INTERNAL: Gets the result value.


getScore

public float getScore()
INTERNAL: Gets the score ;


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2000-2012 Ontopia.