Re: [collections] idea for quick map creation method(s)

2003-09-17 Thread Stephen Colebourne
[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

Re: idea for quick map creation method(s)

2003-09-12 Thread Janek Bogucki
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: