O'Reilly logo

Getting Started with Google Guava by Bill Bejeck

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Functional Programming with Guava

In this chapter, we start to notice that using Guava has an impact on how we write our code and makes development easier. We will take a look at how using certain Guava interfaces and classes can help us, by applying well-established patterns to make our code more maintainable as well as robust.

Specifically, we will be covering the following topics in this chapter:

  • The Function interface: This explains how we can introduce functional programming to our Java programs. It also explains how best we can use the Function interface and recognize where its usage is not appropriate
  • The Functions class: This class is a collection of static methods that are used to work with implementations of the Function interface ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required