Currying for Java