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