Replace uses of the Guava functional API with the standard Java 8 APIs and language features.