commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject RE: [Collections][SUBMIT] TypedList
Date Tue, 23 Apr 2002 19:53:15 GMT
*whistle*

I can commit my ProxyList/ProxyMap if desired :) I have ProxySet too.

Hen

On Tue, 23 Apr 2002, Tim Moore wrote:

> I'd say keep them separate, because they basically do different things.
> But this is another argument for making a ProxyList base class.
>
> --
> Tim Moore / Blackboard Inc. / Software Engineer
> 1899 L Street, NW / 5th Floor / Washington, DC 20036
> Phone 202-463-4860 ext. 258 / Fax 202-463-4863
>
>
> > -----Original Message-----
> > From: Stephen Colebourne [mailto:scolebourne@eurobell.co.uk]
> > Sent: Tuesday, April 23, 2002 3:55 PM
> > To: Jakarta Commons Developers List
> > Subject: Re: [Collections][SUBMIT] TypedList
> >
> >
> > Yes, I think I'm tending towards PredicatedList now.
> >
> > Only one problem, there is also the Transformer class. I was
> > thinking that a variation on the theme could allow objects to
> > be transformed on entry to the collection. For example
> > strings read from a config file that represent numbers could
> > be converted to Integer objects as they are added. This could
> > potentially be done as part of the same class, messing up the
> > name. Or I could create a separate TransformedList class. Views?
> >
> > Stephen
> >
> > From: Henri Yandell <bayard@generationjava.com>
> > > The first to jump to mind is PredicatedList. I think that the types
> > > should be similar, ie) PredicatedList/Predicate,
> > > ValidatedList/Validator.
> > >
> > > How about CheckedList/Check? :) Nice plain inglis.
> > >
> > > VerifiedList. ConstrainedList. FilteredList. BlockedList.
> > >
> > > I like the general idea. By using a predicate, lots of
> > different types
> > > of lists can be coded without having to handle all the list
> > handling
> > > stuff.
> > >
> > > Hen
> > >
> > > On Tue, 23 Apr 2002, Stephen Colebourne wrote:
> > >
> > > > Yes, the use of Predicate makes sense to me. The 'simple'
> > instanceof
> > > > Predicate can be setup using a static factory method on
> > TypedList.
> > > > I'll
> > take
> > > > a look at doing this.
> > > >
> > > > Stephen
> > > >
> > > > BTW: I guess I'll have to rename it, any better suggestions than
> > > > ValidatedList?
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <mailto:commons-dev-help@jakarta.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:commons-dev-> unsubscribe@jakarta.apache.org>
> > For
> > additional commands,
> > e-mail: <mailto:commons-dev-help@jakarta.apache.org>
> >
> >
>
> --
> To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message