API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.search.simpleindexer. JOTSearchResult View Source
Author(s)
tcolar
Since
Version
Serial
Hierarchy
 Object
      Dictionary
          Hashtable
              JOTSearchResult
Implements
Subclasses
Description
public class JOTSearchResult
Represented an entry of the sorted search result (ie: a file) This is of type hashtable, so that a user writing it's own JOTSearchsorter implementation could add it's own extra element data
See also:   
Constructors
public JOTSearchResult (String id, int score, int hits, int bestLine, int bestLineScore)
  creates an entry with specific id,score,hits
Methods
Hide/Show inherited methods
publicsynchronized void clear () [Inherited From Hashtable]
publicsynchronized Object clone () [Inherited From Hashtable]
publicsynchronized boolean contains (Object arg0) [Inherited From Hashtable]
publicsynchronized boolean containsKey (Object arg0) [Inherited From Hashtable]
public boolean containsValue (Object arg0) [Inherited From Hashtable]
publicsynchronized Enumeration< V> elements () [Inherited From Hashtable] [Specified in Dictionary]
public Set<Entry< K, V>> entrySet () [Inherited From Hashtable]
publicsynchronized boolean equals (Object arg0) [Inherited From Hashtable]
publicsynchronized V get (Object arg0) [Inherited From Hashtable] [Specified in Dictionary]
public int getBestLine ()
  line number of best line
public int getBestLineScore ()
  how many of the keywords on the best line
public Integer getHits ()
  total number of keywords hits in whole file
public String getID ()
  return uniqueId of the matching entry(ex: filename)
public int getScore ()
  score 0 to 10 (how many of the keywords where found in the file)
publicsynchronized int hashCode () [Inherited From Hashtable]
publicsynchronized boolean isEmpty () [Inherited From Hashtable] [Specified in Dictionary]
publicsynchronized Enumeration< K> keys () [Inherited From Hashtable] [Specified in Dictionary]
public Set< K> keySet () [Inherited From Hashtable]
publicsynchronized V put ( K arg0, V arg1) [Inherited From Hashtable] [Specified in Dictionary]
publicsynchronized void putAll (Map<Object, Object> arg0) [Inherited From Hashtable]
protected void rehash () [Inherited From Hashtable]
publicsynchronized V remove (Object arg0) [Inherited From Hashtable] [Specified in Dictionary]
publicsynchronized int size () [Inherited From Hashtable] [Specified in Dictionary]
publicsynchronized String toString () [Inherited From Hashtable]
public Collection< V> values () [Inherited From Hashtable]
Fields
Hide/Show inherited fields
publicfinalstatic String BEST_LINE = "BESTLINE"
publicfinalstatic String BEST_LINE_SCORE = "BESTLINESCORE"
publicfinalstatic String HITS = "HITS"
publicfinalstatic String ID = "ID"
publicfinalstatic String SCORE = "SCORE"
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar