gov.lbl.genome.gui
Class QSortAlgorithm

java.lang.Object
  extended by gov.lbl.genome.gui.QSortAlgorithm

public class QSortAlgorithm
extends java.lang.Object

A quick sort demonstration algorithm SortAlgorithm.java


Constructor Summary
QSortAlgorithm()
           
 
Method Summary
 int[] sort(long[] a)
          return sorted array
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QSortAlgorithm

public QSortAlgorithm()
Method Detail

sort

public int[] sort(long[] a)
           throws java.lang.Exception
return sorted array

Parameters:
a - long[]
Returns:
int[]
Throws:
java.lang.Exception