From: Henri Yandell <[EMAIL PROTECTED]> > 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.
So we need something more than the existing Predicate/Transformer classes then? I think I need to go and code something to it working... Stephen > 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:[EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>