|
|||||||||||
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.10 2005/06/01 19:38:51 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 |
getRevision()
Returns source code revision information. |
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 DESCENDINGMethod 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 getRevision()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |