Functional programming for Java & GWT