MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.sms.ftstore
Class ElemComparator

java.lang.Object
  extended by ch.ethz.mxquery.sms.ftstore.ElemComparator
All Implemented Interfaces:
Comparator

public class ElemComparator
extends java.lang.Object
implements Comparator

Helper class for FTTokenBufferStore: to calculate top n words


Constructor Summary
ElemComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.ethz.mxquery.util.Comparator
equals
 

Constructor Detail

ElemComparator

public ElemComparator()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
            throws MXQueryException
Specified by:
compare in interface Comparator
Throws:
MXQueryException

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich