|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.mdm.index.matching.MatchOptions
The options to control the matching and results for the findWeights methods
| Constructor Summary | |
MatchOptions()
Creates new MatchOptions |
|
MatchOptions(boolean sortWeightResults,
double minimumWeight)
Creates new MatchOptions |
|
| Method Summary | |
double |
getMinimumWeight()
The minimum Weight a result has to have so it gets returned. |
boolean |
getSortWeightResults()
Whether to return the result weights in sorted order, from highest to lowest |
void |
setMinimumWeight(double weight)
The minimum Weight a result has to have so it gets returned. |
void |
setSortWeightResults(boolean sort)
Whether to return the result weights in sorted order, from highest to lowest |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MatchOptions()
public MatchOptions(boolean sortWeightResults,
double minimumWeight)
sortWeightResults - whether to sort the match results by weightminimumWeight - the minimum weight for which to return results| Method Detail |
public double getMinimumWeight()
public boolean getSortWeightResults()
public void setMinimumWeight(double weight)
weight - set the minimum weightpublic void setSortWeightResults(boolean sort)
sort - set to true if they results should be sorted
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Sun Microsystems, Inc.