|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--marf.util.SortComparator
|
+--marf.util.comparators.ResultComparator
Compares two Result objects for equality.
Used in sorting. $Id: ResultComparator.java,v 1.14 2005/08/14 01:15:57 mokhov Exp $
| Field Summary |
| Fields inherited from class marf.util.SortComparator |
ASCENDING, DESCENDING, iSortMode |
| Constructor Summary | |
ResultComparator(int piMethod)
Takes the sorting mode into consideration. |
|
| Method Summary | |
int |
compare(java.lang.Object poResult1,
java.lang.Object poResult2)
Implementation of the Comparator interface for the Result objects. |
static java.lang.String |
getMARFSourceCodeRevision()
Returns source code revision information. |
| Methods inherited from class marf.util.SortComparator |
getSortMode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
equals |
| Constructor Detail |
public ResultComparator(int piMethod)
piMethod - sorting method, either ASCENDING or DESCENDING| Method Detail |
public int compare(java.lang.Object poResult1,
java.lang.Object poResult2)
poResult1 - first Result object for comparisonpoResult2 - second Result object for comparison
public static java.lang.String getMARFSourceCodeRevision()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||