|
|||||||||||
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.FrequencyComparator
Compare WordStat objects by their frequency when sorting.
TODO: complete documentation. $Id: FrequencyComparator.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 | |
FrequencyComparator(int piMethod)
|
Method Summary | |
int |
compare(java.lang.Object poWordStats1,
java.lang.Object poWordStats2)
Implementation of the Comparator interface for the WordStats 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 FrequencyComparator(int piMethod)
Method Detail |
public int compare(java.lang.Object poWordStats1, java.lang.Object poWordStats2)
public static java.lang.String getRevision()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |