Re: [collections] Desirability of typed and other validated Collections

2003-03-06 Thread Henri Yandell
Hmm. I thought these were already in Collections :) But it seems not. I'm in favour of it. +1 On 6 Mar 2003, grumpoxl wrote: > Is there any interest in creating typed Collections? Even though it > looks like Java is providing generics with 1.5, this could serve as a > good holdover until then,

Re: [collections] Desirability of typed and other validated Collections

2003-03-06 Thread David Graham
Developers List" <[EMAIL PROTECTED]> To: Jakarta Commons Developers List <[EMAIL PROTECTED]> Subject: [collections] Desirability of typed and other validated Collections Date: 06 Mar 2003 14:08:36 + Is there any interest in creating typed Collections? Even though it looks lik

[collections] Desirability of typed and other validated Collections

2003-03-06 Thread grumpoxl
Is there any interest in creating typed Collections? Even though it looks like Java is providing generics with 1.5, this could serve as a good holdover until then, - a TypedCollection(Integer.class) would only allow Integers to its add methods - a TypedMap(String.class, Integer.class) would only