MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.util
Class MergeSort

java.lang.Object
  extended by ch.ethz.mxquery.util.MergeSort

public class MergeSort
extends java.lang.Object

Merge Sort. Sorts an array of objects with a corresponding compare class.


Method Summary
static void sort(java.lang.Object[] arr, Comparator comp)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

sort

public static void sort(java.lang.Object[] arr,
                        Comparator comp)
                 throws MXQueryException
Throws:
MXQueryException

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich