Re: [FUNCTOR] Does functor have a class for this?

2004-03-25 Thread Rodney Waldhoff
I don't think functor currently has a direct representation of this concept, although you could fabricate one out of some of the existing concepts. See the composite and adapter packages for example. UnaryCompositeBinaryPredicate is similar to what you're looking for, but that expects two unary

RE: [FUNCTOR] Does functor have a class for this?

2004-03-19 Thread James Carman
Does nobody monitor the functor project? -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 9:18 AM To: [EMAIL PROTECTED] Subject: [FUNCTOR] Does functor have a class for this? I want to turn a BinaryPredicate into a Predicate by using

Re: [FUNCTOR] Does functor have a class for this?

2004-03-19 Thread matthew.hawthorne
James Carman wrote: Does nobody monitor the functor project? I thought there were a few people who did, such as Rodney, but the project hasn't seemed very active lately. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[FUNCTOR] Does functor have a class for this?

2004-03-18 Thread James Carman
I want to turn a BinaryPredicate into a Predicate by using Functions for the left/right operands to the BinaryPredicate. public class BinaryPredicateToPredicate implements Predicate { private final Function leftFunction; private final Function rightFunction; private final