jfun.parsec
public interface Accumulator<From,To> extends Serializable
Method Summary | |
---|---|
void | accumulate(From obj)
accumulate one object into the result. |
To | getResult()
gets the accumulated result. |
Parameters: obj the object to be accumulated.
Returns: the result.