On Tue, 13 Apr 2004 12:01:49 +0100, "Chris G" <>
wrote or quoted :
>Would I be correct in saying I implement the Comparable interface in my
>Record class? If so what exactly do I include in the overridden compareTo
>method? What integer value do I return? Also, how do I use the compareTo
>method externally to do the sort?
See
http://mindprod.com/jgloss/comparable.html
http://mindprod.com/jgloss/comparator.html
--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See
http://mindprod.com/jgloss/jgloss.html for The Java Glossary.