groovyx.gpars.pa
Class ClosureMapper

java.lang.Object
  extended by groovyx.gpars.pa.ClosureMapper
All Implemented Interfaces:
extra166y.Ops.Op<java.lang.Object,java.lang.Object>

public final class ClosureMapper
extends java.lang.Object
implements extra166y.Ops.Op<java.lang.Object,java.lang.Object>

A PA mapper built around a closure

Author:
Vaclav Pech

Field Summary
private  groovy.lang.Closure code
           
 
Constructor Summary
ClosureMapper(groovy.lang.Closure code)
           
 
Method Summary
 java.lang.Object 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

ClosureMapper

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

op

public java.lang.Object op(java.lang.Object o)
Specified by:
op in interface extra166y.Ops.Op<java.lang.Object,java.lang.Object>

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