edu.ucdavis.rj.Locks
Class Sorter

java.lang.Object
  extended by edu.ucdavis.rj.Locks.Sorter

public class Sorter
extends java.lang.Object


Nested Class Summary
static class Sorter.SortCompare
           
 
Constructor Summary
Sorter()
           
 
Method Summary
(package private) static int partition(java.lang.Object[] array, int strt, int end, Sorter.SortCompare func)
           
(package private) static void sort(java.lang.Object[] array, int strt, int end, Sorter.SortCompare func)
           
static void sort(java.lang.Object[] array, Sorter.SortCompare func)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sorter

public Sorter()
Method Detail

sort

public static void sort(java.lang.Object[] array,
                        Sorter.SortCompare func)

sort

static void sort(java.lang.Object[] array,
                 int strt,
                 int end,
                 Sorter.SortCompare func)

partition

static int partition(java.lang.Object[] array,
                     int strt,
                     int end,
                     Sorter.SortCompare func)