You can also iterate through the keys of the TreeMap and store their associated objects in a Collection.
Cheers! Mark ----- Original Message ----- From: "Fabrice Valois" <[EMAIL PROTECTED]> Sent: Thursday, December 06, 2001 8:03 AM TreeMap isn't a Collection but a Map. You can't cast it into a Collection ! If you really want a collection from a TreeMap, you have to choice either the keySet or the entrySet of the TreeMap. fv ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
