Building Lambda Functions with Java