Class sort

java.lang.Object
  |
  +--sort

public class sort
extends java.lang.Object

The class sort uses the "selelction sort" algorithm to sord a list of comaparable obects. Comparable objects can be compared to each other, that is if we take two such objects then there is a routine, a method, that compares them and reports one to be smaller or declares them as equal. As far as the sort routine is concerned this is all that is needed to carry out the sorting operation. The nature of data and the exact meahnism of sorting is irrelevant. The sort routine works on a comparable object C and uses its compare method to carry out the actual comapring.


Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait