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
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
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
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