by Roedy Green <see_website@[EMAIL PROTECTED]
>
Apr 20, 2008 at 10:40 AM
On Tue, 15 Apr 2008 09:11:40 -0700 (PDT), Andrew Marcus
<mainhoonanjaane@[EMAIL PROTECTED]
> wrote, quoted or indirectly quoted someone
who said :
>I am implemented a program LinkList based Binarytree but I want to use
>Comparable for comparing the values stored at two different Nodes and
>the values I stored at each Node are of type Objects.Can anyone please
>help?I shall be very grateful if anyone provide me the least of
>suggestions also.
see http://mindprod.com/jgloss/comparator.htmlhttp://mindprod.com/jgloss/comparator.htmlhttp://mindprod.com/jgloss/sort.htmlhttp://mindprod.com/jgloss/generics.html
Look at Sun's Collection cl***** similar to what you are doing to see
how they pull off the generics.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com