R - the delegate result typeT1 - the delegate first parameter typeT2 - the delegate second parameter typeT3 - the delegate third parameter typepublic class TernaryInterceptorAdapter<R,T1,T2,T3> extends Object implements TernaryDelegate<R,T1,T2,T3>
| Constructor and Description |
|---|
TernaryInterceptorAdapter(TernaryInterceptor<T1,T2,T3> interceptor,
TernaryDelegate<R,T1,T2,T3> inner) |
| Modifier and Type | Method and Description |
|---|---|
R |
perform(T1 first,
T2 second,
T3 third)
Executes the delegate for the given elements yielding a result of type R
|
public TernaryInterceptorAdapter(TernaryInterceptor<T1,T2,T3> interceptor, TernaryDelegate<R,T1,T2,T3> inner)
public R perform(T1 first, T2 second, T3 third)
TernaryDelegateCopyright © 2016. All rights reserved.