public static < T1 , T2 , T3 > TriConsumer < T1 , T2 , T3 > spy ( TriConsumer < T1 , T2 , T3 > consumer , Box < T1 > param1 , Box < T2 > param2 , Box < T3 > param3 ) { return new TernaryCapturingConsumer < T1 , T2 , T3 > ( consumer , param1 , param2 , param3 ) ; }
Proxies a ternary consumer spying for parameters .