Class marimba.util.QuickSort
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class marimba.util.QuickSort

java.lang.Object
   |
   +----marimba.util.QuickSort

public final class QuickSort
extends Object
Quick sort class, highly optimized and very specific. This one sorts strings.
Version:
1.5, 06/10/96
Author:
Jonathan Payne

Method Index

 o sort(int[], int, int)
Sort an array of integers.
 o sort(Sortable[], int, int, Object)
Sort an array of Sortable objects.
 o sort(String[], int, int)
Sort an array of strings.

Methods

 o sort
  public static void sort(String a[],
                          int off,
                          int len)
Sort an array of strings.
 o sort
  public static void sort(int a[],
                          int off,
                          int len)
Sort an array of integers.
 o sort
  public static void sort(Sortable a[],
                          int off,
                          int len,
                          Object rock)
Sort an array of Sortable objects. The rock is passed along to each compare.

All Packages  Class Hierarchy  This Package  Previous  Next  Index