File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
difference between sortedmap and treemap
Joined: Feb 26, 2003
Sep 29, 2004 06:52:00
what is the difference betwen these two interfaces ?
is it the same as sortedet and treeset ?
both seem to sort in order ? is it the key /value issue ?
One day all greenhorns will run free ...
Joined: Aug 03, 2002
Sep 29, 2004 07:20:00
It looks to me that TreeMap is an
of the interface SortedMap. (As TreeSet is an implementation of SortedSet). So a comparison seems to be meaningless.
Ask a Meaningful Question
Getting someone to think and try something out is much more useful than just telling them the answer.
I agree. Here's the link:
subject: difference between sortedmap and treemap
WA #1.....word association
Why anonymous posts are allowed in this forum ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014