R - the result typeT1 - the first parameter typeT2 - the second parameter typepublic class BinaryCapturingDelegate<R,T1,T2> extends Object implements BinaryDelegate<R,T1,T2>
| Constructor and Description |
|---|
BinaryCapturingDelegate(BinaryDelegate<R,T1,T2> nested,
Box<R> result,
Box<T1> param1,
Box<T2> param2) |
| Modifier and Type | Method and Description |
|---|---|
R |
perform(T1 former,
T2 latter)
Executes the delegate for the given elements yielding a result of type R
|
public R perform(T1 former, T2 latter)
BinaryDelegateperform in interface BinaryDelegate<R,T1,T2>former - the former elementlatter - the latter elementCopyright © 2016. All rights reserved.