groovyx.gpars.pa
Class ClosureReducer

java.lang.Object
  extended by groovyx.gpars.pa.ClosureReducer
All Implemented Interfaces:
extra166y.Ops.BinaryOp<java.lang.Object,java.lang.Object,java.lang.Object>, extra166y.Ops.Reducer<java.lang.Object>

public final class ClosureReducer
extends java.lang.Object
implements extra166y.Ops.Reducer<java.lang.Object>

A PA reducer built around a closure

Author:
Vaclav Pech

Field Summary
private  groovy.lang.Closure code
           
 
Constructor Summary
ClosureReducer(groovy.lang.Closure code)
           
 
Method Summary
 java.lang.Object op(java.lang.Object o, java.lang.Object o1)
           
 
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

ClosureReducer

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

op

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

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