Open SiteSearch 4.1.1
Final

ORG.oclc.util
Class sorts

java.lang.Object
  |
  +--ORG.oclc.util.sorts
Direct Known Subclasses:
InstInfo

public abstract class sorts
extends Object

sorts is a class providing general routines for sorting objects.


Constructor Summary
sorts()
           
 
Method Summary
static void bubblesort(Object[] sort)
           
abstract  int compare(sorts b)
          ShellSort is a method providing shell sort algorithm for sorting objects.
static void shellSort(Object[] keys)
           
static void shellSort(sorts[] a, int num_elements_to_sort)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

sorts

public sorts()
Method Detail

bubblesort

public static void bubblesort(Object[] sort)

compare

public abstract int compare(sorts b)
ShellSort is a method providing shell sort algorithm for sorting objects.

shellSort

public static void shellSort(sorts[] a,
                             int num_elements_to_sort)

shellSort

public static void shellSort(Object[] keys)

Open SiteSearch 4.1.1
Final