Using Java lambdas instead of Guava