public class SumAccumulateFunction extends AbstractAccumulateFunction
| Modifier and Type | Class and Description |
|---|---|
protected static class |
SumAccumulateFunction.SumData |
| Constructor and Description |
|---|
SumAccumulateFunction() |
| Modifier and Type | Method and Description |
|---|---|
void |
accumulate(Serializable context,
Object value) |
Serializable |
createContext() |
Object |
getResult(Serializable context) |
Class<?> |
getResultType() |
void |
init(Serializable context) |
void |
readExternal(ObjectInput in) |
void |
reverse(Serializable context,
Object value) |
boolean |
supportsReverse() |
void |
writeExternal(ObjectOutput out) |
equals, hashCodepublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
IOExceptionpublic Serializable createContext()
public void init(Serializable context)
public void accumulate(Serializable context, Object value)
public void reverse(Serializable context, Object value)
public Object getResult(Serializable context)
public boolean supportsReverse()
public Class<?> getResultType()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.