Class Hit

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

public class Hit extends Object
INTERNAL: Class that holds search hit data.

  • Constructor Details

    • Hit

      public Hit(Object value, float score)
  • Method Details

    • getValue

      public Object getValue()
      INTERNAL: Gets the result value.
    • getScore

      public float getScore()
      INTERNAL: Gets the score ;
    • toString

      public String toString()
      Overrides:
      toString in class Object