Re: [collections] Desirability of typed and other validatedCollections

2003-03-06 Thread Stephen Colebourne
From: "grumpoxl" <[EMAIL PROTECTED]> > I don't see the PredicateUtils class, I'm assuming by saying "with a > little tweaking in CVS" you mean it has to be created. No, PredicateUtils exists in [lang]. The tweaking means that it implements the same interface, but in a different package. Simple eno

Re: [collections] Desirability of typed and other validatedCollections

2003-03-06 Thread grumpoxl
My idea was to provide 3 constructors; TypedCollection() - no type specified, uses default class (Object) and default Collection type (ArrayList) TypedCollection(Collection) - no type, but uses specified collection TypedCollection(Class) - uses specified type and default Collection TypedCollect

Re: [collections] Desirability of typed and other validatedCollections

2003-03-06 Thread David Graham
ED]> Reply-To: "Jakarta Commons Developers List" <[EMAIL PROTECTED]> To: Jakarta Commons Developers List <[EMAIL PROTECTED]> Subject: Re: [collections] Desirability of typed and other validatedCollections Date: 06 Mar 2003 14:45:46 + > It seems like a waste of time to w

Re: [collections] Desirability of typed and other validatedCollections

2003-03-06 Thread grumpoxl
> It seems like a waste of time to write/maintain code that will be obsolete > quite soon. I don't find casting collection objects to be terribly painful > and 1.5 will provide the function you would be coding. > > David It is true that Java 1.5 will include generics, and that any typed Collec