Find object in stream by method value
Person p = list.stream() .filter(p -> p.age() > 18) .findFirst() .get();