File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes SortedMap & SortedSet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "SortedMap & SortedSet" Watch "SortedMap & SortedSet" New topic
Author

SortedMap & SortedSet

Ada Wang
Greenhorn

Joined: Aug 28, 2000
Posts: 23
Could anyone tell me the differences between SortedMap and SortedSet interface?
Ada
softie
Ranch Hand

Joined: Aug 29, 2000
Posts: 41
Hi Ada,
SortedSet Interface
The sortedset interface extends set and declares the behavior of a set sorted in ascending order. SortedSet defines several methods that make set processing more convenient. To obtain the first object in the set , call first(). and the last object can be accessed by using the last().
SortedMap
The SortedMap interface extends Map. It ensures that the entries are maintained in ascending key order. As far as i can get these are basically maps
Bye
Venu
 
jQuery in Action, 2nd edition
 
subject: SortedMap & SortedSet
 
Threads others viewed
difference between sortedmap and treemap
Methods of collection class
Is memorizing the 6 core collection interfaces necessary
collection to string array possible!
Collections - I just don't understand!
developer file tools