groovyx.gpars.pa
[Java] Class CombineHolder
java.lang.Object
groovyx.gpars.pa.CombineHolder
@java.lang.SuppressWarningsfor (final Map.Entry
Holds a temporary reduce result for groupBy
Field Summary |
private java.util.Map |
content
|
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() |
content
private final java.util.Map content
-
CombineHolder
CombineHolder(java.util.Map content)
-
addToMap
CombineHolder addToMap(java.lang.Object key, java.lang.Object item, groovy.lang.Closure accumulation, groovy.lang.Closure initialValue)
-
getContent
public java.util.Map getContent()
-
merge
@java.lang.SuppressWarningsfinal Object newValue = accumulation.call(currentValue, item);
CombineHolder merge(CombineHolder other, groovy.lang.Closure accumulation, groovy.lang.Closure initialValue)
-
Copyright © 2008–2013 Václav Pech. All Rights Reserved.