org.codehaus.gpars

groovyx.gpars.pa
[Java] Class ClosureReducer

java.lang.Object
  groovyx.gpars.pa.ClosureReducer
All Implemented Interfaces:
Reducer

public final class ClosureReducer

A PA reducer built around a closure

Authors:
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
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

code

private final groovy.lang.Closure code


 
Constructor Detail

ClosureReducer

public ClosureReducer(groovy.lang.Closure code)


 
Method Detail

op

@java.lang.Override
public java.lang.Object op(java.lang.Object o, java.lang.Object o1)


 

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