[419] in java-interest
Re: SortedVector class
daemon@ATHENA.MIT.EDU (David Hopwood)
Tue Jun 20 20:09:57 1995
From: David Hopwood <david.hopwood@lady-margaret-hall.oxford.ac.uk>
To: cmcmanis@scndprsn.Eng.Sun.COM (Chuck McManis)
Date: Wed, 21 Jun 1995 00:44:23 +0000 (BST)
Cc: java-interest@java.sun.com
In-Reply-To: <9506202258.AA00386@pepper.Eng.Sun.COM> from "Chuck McManis" at Jun 20, 95 03:58:40 pm
>
> Looks cool although I'd probably change in just a teensy tiny way :-)
>
> public interface Sortable {
> int compareObjects(Object a, Object b) ;
> }
OK, but call it Sorter, not Sortable.
More generally, it would probably be better to look at existing class
libraries (EiffelBase, the Smalltalk libraries, STL, etc.), rather than
trying to reinvent the wheel.
David Hopwood
david.hopwood@lmh.ox.ac.uk
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com