> From: David kerber [mailto:[EMAIL PROTECTED] 
> Subject: Help with java Lists
> 
> I need to have some kind of list or collection that I can 
> search quickly for a specific entry, and then start stepping
> through the list item by item from that point.

Try java.util.TreeMap; the subMap() and tailMap() methods look
appropriate for your needs.  Note that it's not synchronized, so you'll
have to add your own to the callers of TreeMap methods or wrapper it
with your own class.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to