R - the result type parameterT1 - the former type parameterT2 - the latter type parameterpublic class UnaryToBinaryDelegate<R,T1,T2> extends Object implements BinaryDelegate<R,T1,T2>
| Constructor and Description |
|---|
UnaryToBinaryDelegate(Delegate<R,Pair<T1,T2>> delegate) |
| Modifier and Type | Method and Description |
|---|---|
R |
perform(T1 first,
T2 second)
Executes the delegate for the given elements yielding a result of type R
|
public R perform(T1 first, T2 second)
BinaryDelegateperform in interface BinaryDelegate<R,T1,T2>first - the former elementsecond - the latter elementCopyright © 2016. All rights reserved.