R - unary return typeT1 - unary parameter type and binary return typeT2 - the first binary parameter typeT3 - the second binary parameter typepublic class BinaryComposer<R,T1,T2,T3> extends Object implements BinaryDelegate<R,T2,T3>
| Constructor and Description |
|---|
BinaryComposer(Delegate<R,T1> unary,
BinaryDelegate<T1,T2,T3> binary) |
| Modifier and Type | Method and Description |
|---|---|
R |
perform(T2 first,
T3 second)
Executes the delegate for the given elements yielding a result of type R
|
public R perform(T2 first, T3 second)
BinaryDelegateperform in interface BinaryDelegate<R,T2,T3>first - the former elementsecond - the latter elementCopyright © 2016. All rights reserved.