groovyx.gpars.pa
Class CombineHolder
java.lang.Object
groovyx.gpars.pa.CombineHolder
final class CombineHolder
- extends java.lang.Object
Holds a temporary reduce result for groupBy
Field Summary |
private java.util.Map<java.lang.Object,java.lang.Object> |
content
|
Constructor Summary |
CombineHolder(java.util.Map<java.lang.Object,java.lang.Object> content)
|
Method Summary |
(package private) CombineHolder |
addToMap(java.lang.Object key,
java.lang.Object item,
groovy.lang.Closure<?> accumulation,
groovy.lang.Closure<?> initialValue)
|
java.util.Map<java.lang.Object,java.lang.Object> |
getContent()
|
(package private) CombineHolder |
merge(CombineHolder other,
groovy.lang.Closure<?> accumulation,
groovy.lang.Closure<?> initialValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
content
private final java.util.Map<java.lang.Object,java.lang.Object> content
CombineHolder
CombineHolder(java.util.Map<java.lang.Object,java.lang.Object> content)
getContent
public java.util.Map<java.lang.Object,java.lang.Object> getContent()
merge
CombineHolder merge(CombineHolder other,
groovy.lang.Closure<?> accumulation,
groovy.lang.Closure<?> initialValue)
addToMap
CombineHolder addToMap(java.lang.Object key,
java.lang.Object item,
groovy.lang.Closure<?> accumulation,
groovy.lang.Closure<?> initialValue)