There have been prior discussions in this list regarding an ordered map.
Archives may help.

[EMAIL PROTECTED] wrote:
> 
> While it doesn't preserve FIFO, a TreeMap with a custom Comparator has
> been useful to me.  Maybe you could modify the Comparator to meet your
> conditions?
> 
> Also, JDK1.4 provides the LinkedHashMap class which does what you need,
> if you are willing to use 1.4.
> 
> -----Original Message-----
> From: Rajiv Kewalramani [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 10, 2002 1:54 PM
> To: Tag Libraries Users List
> Subject: FIFO ordering of input:select tag options
> 
> I have a need to impose First In First Out ordering of select options.
> I
> ended up modifying the select tag, replacing the Map representing the
> options with a pair of Collections.
> 
> Is there an easier/better way to do this using the existing
> <input:select>
> tag?
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> **********************************************************************
> This message, including any attachments, contains confidential information intended 
>for a specific individual and purpose, and is protected by law.  If you are not the 
>intended recipient, please contact sender immediately by reply e-mail and destroy all 
>copies.  You are hereby notified that any disclosure, copying, or distribution of 
>this message, or the taking of any action based on it, is strictly prohibited.
> TIAA-CREF
> **********************************************************************
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to