R - return type of the given binary delegateT - former formal parameter type of the given delegateU - latter formal parameter type of the given delegatepublic class Flipper<R,T,U> extends Object implements BinaryDelegate<R,T,U>
| Constructor and Description |
|---|
Flipper(BinaryDelegate<R,U,T> delegate) |
| Modifier and Type | Method and Description |
|---|---|
R |
perform(T former,
U latter)
Performs on the nested delegate swapping former and latter formal
parameters.
|
public Flipper(BinaryDelegate<R,U,T> delegate)
public R perform(T former, U latter)
perform in interface BinaryDelegate<R,T,U>former - the former formal parameter used as latter in the nested
delegatelatter - the latter formal parameter used as former in the nested
delegateCopyright © 2016. All rights reserved.