I have a class called Contact that has a Date lastUpdated; variable.
Contact
Date lastUpdated;
I would like to pull the Contact out of a List
List
Use List.stream().max(Comparator).get() after you defined a suitable Comparator.
List.stream().max(Comparator).get()
Comparator