public class SearchResultComparator extends Object implements Comparator<SearchResult>, 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. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic SearchResultComparator()
public int compare(SearchResult s1, SearchResult s2)
compare in interface Comparator<SearchResult>Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.