public class SearchResultComparator extends Object implements Comparator<CaptureSearchResult>
| Constructor and Description |
|---|
SearchResultComparator()
Constructor: compare in normal forwards sort order
|
SearchResultComparator(boolean backwards)
Constructor backwards value of true creates a reverse comparator
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(CaptureSearchResult o1,
CaptureSearchResult o2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic SearchResultComparator(boolean backwards)
backwards - public SearchResultComparator()
public int compare(CaptureSearchResult o1, CaptureSearchResult o2)
compare in interface Comparator<CaptureSearchResult>Copyright © 2005–2015 IIPC. All rights reserved.