On Tue, 1 Oct 2002, Holly, Michael wrote:

> This is probably showing my lack of java knowledge...
> 
> What if you accepted a vector as the data structure? Then you could
> just pop 'em back off... However, I do think it is a bit more
> overhead...

The problem is that you need a Map, since you're storing both names and
values.  LinkedHashMap (and the collection from Jakarta Commons that Henri
mentions) provides a Map associated with the moral equivalent of a Vector,
so it does what you want.

-- 
Shawn Bayern
"JSTL in Action"   http://www.jstlbook.com


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

Reply via email to