MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.iterators
Class DocOrderCompare

java.lang.Object
  extended by ch.ethz.mxquery.iterators.DocOrderCompare
All Implemented Interfaces:
Comparator

public class DocOrderCompare
extends java.lang.Object
implements Comparator

An object of this class is used for compare in sorting the document order


Constructor Summary
DocOrderCompare()
           
 
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

DocOrderCompare

public DocOrderCompare()
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