|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fxpal.search.DocumentMatch.RawScoreComparator
public static class DocumentMatch.RawScoreComparator
Implements Comparator for DocumentMatch instances
based on raw scores.
Making DocumentMatch implement Comparable creates
the need to re-implement equals() and hashCode(), so this
DocumentMatch.RawScoreComparator class avoids that complexity.
| Constructor Summary | |
|---|---|
DocumentMatch.RawScoreComparator()
|
|
| Method Summary | |
|---|---|
int |
compare(DocumentMatch o1,
DocumentMatch o2)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public DocumentMatch.RawScoreComparator()
| Method Detail |
|---|
public int compare(DocumentMatch o1,
DocumentMatch o2)
compare in interface java.util.Comparator<DocumentMatch>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||