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
Win a copy of
Head First Android
this week in the
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
of the interface SortedMap. (As
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.
It is sorta covered in the
JavaRanch Style Guide
subject: difference between sortedmap and treemap
Another question from mock exam
Bubble Sort Set using Comparator
Sorting a Hashtable by values & retriving kay-value pair
Using the class methods of something in a TreeMap
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015