fi.hut.tml.xsmiles.mlfc.general
Class QuickSort

java.lang.Object
  extended byfi.hut.tml.xsmiles.mlfc.general.QuickSort

public final class QuickSort
extends java.lang.Object

A quick sort implementation. Should be merged with Sorter...

Author:
Sergey Melnik

Method Summary
static void main(java.lang.String[] args)
           
static void sort(java.util.Vector input)
           
static void sort(java.util.Vector input, Comparer comparer, java.lang.Object handle)
          Takes a vector of objects as input and sorts them using comparer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

sort

public static void sort(java.util.Vector input)

sort

public static void sort(java.util.Vector input,
                        Comparer comparer,
                        java.lang.Object handle)
Takes a vector of objects as input and sorts them using comparer. The handle is passed during every invocation of comparer.compare()


main

public static void main(java.lang.String[] args)


X-Smiles 1.2