groovyx.gpars.pa
Class ClosureNegationPredicate

java.lang.Object
  extended by groovyx.gpars.pa.ClosureNegationPredicate
All Implemented Interfaces:
Ops.Predicate<java.lang.Object>

public final class ClosureNegationPredicate
extends java.lang.Object
implements Ops.Predicate<java.lang.Object>

A PA predicate built around a closure

Author:
Vaclav Pech

Field Summary
private  groovy.lang.Closure code
           
 
Constructor Summary
ClosureNegationPredicate(groovy.lang.Closure code)
           
 
Method Summary
 boolean op(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code

private final groovy.lang.Closure code
Constructor Detail

ClosureNegationPredicate

public ClosureNegationPredicate(groovy.lang.Closure code)
Method Detail

op

public boolean op(java.lang.Object o)
Specified by:
op in interface Ops.Predicate<java.lang.Object>

Copyright © 2008–2012 Václav Pech. All Rights Reserved.