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:56:32 GMT

To answer myself, very bad form. I imagine that we would have a
MapFilter/Predicate and a CollectionFilter/Predicate. Separate structures.
Maybe allowing an adaptor for Maps which could use Collections on keys or
values.

Hen

On Tue, 23 Apr 2002, Henri Yandell wrote:

> or some such. I imagine the Predicate should have access to the list it
> came from, so it would have a setCollection setMap? interface? Something.
>
> public void setStructure(Object structure).
>
> Then I can have a predicate which says, let the first person in, then let
> no one else in who has a birthday of <birthday>.
>
> I would also then imagine a MultiPredicate which takes a bunch of
> Predicates and only allows things if each one works.
>
> *ponder* I'm starting to waffle.
>
> Hen
>
>
> --
> 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