* @param g a unary function.
* @param h a unary function.
* @return the binary function <tt>f( g(a), h(b) )</tt>.
*/
public static IntIntFunction chain(final IntIntFunction f, final IntFunction g, final IntFunction h) {
return new IntIntFunction() {
public int apply(int a, int b) {
return f.apply(g.apply(a), h.apply(b));
}
};