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()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
sorts
public sorts()
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)