java 8 find in list by property

Java
Optional<Person> matchingObject = objects.stream().
    filter(p -> p.email().equals("testemail")).
    findFirst();
Source

Also in Java: