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
Java in General
Sorting keys automatically
Joined: Feb 01, 2003
Sep 30, 2003 00:42:00
Which collection interface does Sort the keys automatically ?
Joined: Sep 03, 2003
Sep 30, 2003 02:59:00
MAP - you must mean Map: keys but no sorting
SET - you must mean Set: no keys and no sorting
- keys and sorting, but this is not an interface - it is a concrete class
SortedSet: sorting but no keys
[ September 30, 2003: Message edited by: Steve Lovelace ]
The Inner that is named is not the true Inner.
Joined: Jan 29, 2003
Sep 30, 2003 06:49:00
See if this
collections crib sheet
helps. It's really brief, but should point you to some interesting places in the JDK docs.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I agree. Here's the link:
subject: Sorting keys automatically
new SCJP in town :)
Navigating and referencing in a ListIterator
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015