Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Help > Re: Object to C...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 15974 of 16269
Post > Topic >>

Re: Object to Comparable

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.html
http://mindprod.com/jgloss/comparator.html
http://mindprod.com/jgloss/sort.html
http://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
 




 3 Posts in Topic:
Object to Comparable
Andrew Marcus <mainhoo  2008-04-15 09:11:40 
Re: Object to Comparable
Eric Sosman <Eric.Sosm  2008-04-15 17:18:19 
Re: Object to Comparable
Roedy Green <see_websi  2008-04-20 10:40:58 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 5:02:18 CDT 2008.