public interface Reducer
FoldLeft and
FoldRight.
A Reducer has a single method
reduce(ValueExpression, ValueExpression) that accepts two operands
left and right (both ValueExpression). It
should return a ValueExpression that composes both operands.
| Modifier and Type | Method and Description |
|---|---|
ValueExpression |
reduce(ValueExpression left,
ValueExpression right) |
ValueExpression reduce(ValueExpression left, ValueExpression right)
Copyright © 2017. All rights reserved.