Source Code The following code snippets are part of a complete sample available at https://github.com/bhakti-mehta/samples/tree/master/jdk8-and-guava For the sake of simplicty, I have a simple sample which has a collection of people's data. We start with a simple POJO Person as shown below for both the JDK 8 and Guava cases public class Person { Â Â Â private String firstName; Â Â Â private String
{{#tags}}- {{label}}
{{/tags}}