ariba.util.core
Class NotPredicate<T>

java.lang.Object
  extended by ariba.util.core.Predicate<T>
      extended by ariba.util.core.NotPredicate<T>

public class NotPredicate<T>
extends Predicate<T>

Implements a boolean not of the contained predicate.


Nested Class Summary
 
Nested classes/interfaces inherited from class ariba.util.core.Predicate
Predicate.Constant<T>
 
Constructor Summary
NotPredicate(Predicate<T> predicate)
           
 
Method Summary
 boolean evaluate(T t)
          For NotPredicate to be true, the contained predicate must be false.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotPredicate

public NotPredicate(Predicate<T> predicate)
Method Detail

evaluate

public boolean evaluate(T t)
For NotPredicate to be true, the contained predicate must be false.

Specified by:
evaluate in class Predicate<T>
Parameters:
t - of type T
Returns:


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.