[lang] ArrayUtils.toMap() Stephen
----- Original Message ----- From: "Janek Bogucki" <[EMAIL PROTECTED]> To: "Jakarta Commons Developers List" <[EMAIL PROTECTED]> Sent: Friday, September 12, 2003 10:55 PM Subject: Re: idea for quick map creation method(s) > On Fri, 2003-09-12 at 18:36, __matthewHawthorne wrote: > > One thing that I've always wanted is the ability to create a Map in one > > line of code. For example, it would allow initialization of a static > > Map without having to resort to static blocks of code. > > > > > > I'm thinking of something like: > > > > createMap(Object[][]) > > createMap(Map.Entry[]) > > > > There was some discussion about this a while back. I'm not sure how it > concluded but here's part of the relevant thread: > > http://marc.theaimsgroup.com/?l=jakarta-commons-dev&m=103426665022869&w=2 > > -Janek > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
