KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > uk > co > jezuk > mango > binarypredicates > Not


1 package uk.co.jezuk.mango.binarypredicates;
2
3 /**
4  * @author Jez Higgins, jez@jezuk.co.uk
5  * @version $Id: Not.java 58 2002-06-12 11:34:16Z jez $
6  */

7 public class Not implements uk.co.jezuk.mango.BinaryPredicate
8 {
9   public Not(uk.co.jezuk.mango.BinaryPredicate p) { p_ = p; }
10   public boolean test(Object JavaDoc x, Object JavaDoc y) { return !p_.test(x, y); }
11   private uk.co.jezuk.mango.BinaryPredicate p_;
12 } // Not
13
Popular Tags