| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.javamatch.engine.MatchResult
Class MatchResult contains the result of a match. This result may contain multiple result items, each with its match value, sorted descending
| Constructor Summary | |
| MatchResult(MatchEngine matchEngine)Creates a new MatchResult | |
| Method Summary | |
|  void | addResultItem(java.lang.Object matchedObject,
              float matchValue)Adds the given result item. | 
|  java.util.Iterator | getResultIterator()Returns an iterator that iterates over all result items in this result, in descending order | 
|  void | setMaxNumResultItems(int maxNumResultItems)Sets the maximum number of result items in this MatchResult. | 
|  void | setThreshold(float threshold)Sets the threshold value, the minimum value that each sub-query shoud have, to be included in the match result. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public MatchResult(MatchEngine matchEngine)
| Method Detail | 
public void addResultItem(java.lang.Object matchedObject,
                          float matchValue)
matchedObject - the object item to be addedmatchValue - indicates how good the object matchespublic java.util.Iterator getResultIterator()
public void setThreshold(float threshold)
threshold - the threshold, the minimum query result value before an
        object is included in the MatchResult
java.lang.IllegalStateException - when ResultItems have been added before 
         this method is calledpublic void setMaxNumResultItems(int maxNumResultItems)
maxNumResultItems - the maximum number of result items to be returned
java.lang.IllegalStateException - when ResultItems have been added before 
         this method is called| 
 | Hosted by | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||