org.shapelogic.predicate
Interface BinaryPredicate<In0,In1>

All Known Implementing Classes:
BinaryEqualPredicate, BinaryGreaterPredicate, BinarySmallerPredicate

public interface BinaryPredicate<In0,In1>

Predicate with 2 arguments.

BinaryPredicate is close to the Apache Commons BinaryPredicateBinaryFunction.

But defined independently since Commons Functor lib is still a sand box lib.

Author:
Sami Badawi

Method Summary
 boolean evaluate(In0 left, In1 right)
          Checks if a binary predicate relation holds.
 java.lang.String getName()
          Used in factory.
 

Method Detail

evaluate

boolean evaluate(In0 left,
                 In1 right)
Checks if a binary predicate relation holds.


getName

java.lang.String getName()
Used in factory.



Copyright © 2008. All Rights Reserved.