groovyx.gpars.pa
Class CombineHolder

java.lang.Object
  extended by 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
 

Field Detail

content

private final java.util.Map<java.lang.Object,java.lang.Object> content
Constructor Detail

CombineHolder

CombineHolder(java.util.Map<java.lang.Object,java.lang.Object> content)
Method Detail

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)

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