KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > uk > co > jezuk > mango > BinaryPredicate


1 package uk.co.jezuk.mango;
2
3 /**
4  * A <code>BinaryPredicate</code> is some function taking two arguments -
5  * <code>fn(x, y)</code> and returning the result of some test.
6  * It returns <code>true</code> if the conditions of the test are satisfied,
7  * <code>false</code> otherwise
8  * @author Jez Higgins, jez@jezuk.co.uk
9  * @version $Id: BinaryPredicate.java 29 2002-04-08 18:23:26Z jez $
10  */

11 public interface BinaryPredicate
12 {
13   abstract public boolean test(Object JavaDoc x, Object JavaDoc y);
14 } // BinaryPredicate
15

16
Popular Tags