com.infomancers.collections.util
Class PredicateNegation<T>

java.lang.Object
  extended by com.infomancers.collections.util.PredicateNegation<T>
All Implemented Interfaces:
Predicate<T>

public final class PredicateNegation<T>
extends java.lang.Object
implements Predicate<T>

Created by IntelliJ IDEA. User: aviadbd Date: Jul 20, 2007 Time: 5:45:58 PM To change this template use File | Settings | File Templates.


Constructor Summary
PredicateNegation(Predicate<T> internal)
           
 
Method Summary
 boolean evaluate(T item)
          Evaluates an item to see if it fits the boolean query.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PredicateNegation

public PredicateNegation(Predicate<T> internal)
Method Detail

evaluate

public boolean evaluate(T item)
Evaluates an item to see if it fits the boolean query.

Specified by:
evaluate in interface Predicate<T>
Parameters:
item - The item to evaluate.
Returns:
Whether the item fits the query.