public class SearchResultComparator extends java.lang.Object implements java.util.Comparator<SearchResult>, java.io.Serializable
| Constructor and Description |
|---|
SearchResultComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(SearchResult s1,
SearchResult s2)
Compares two SearchResult objects, returning
the one that scored higher.
|
public int compare(SearchResult s1, SearchResult s2)
compare in interface java.util.Comparator<SearchResult>stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.