i just need the latest for each key
# announcements
m
i just need the latest for each key
v
you can use the max(Comparator.comparing...)...
I have a gist for a differnt reason by you can see the max with compare here https://gist.github.com/visakha/8ac7f823e02192beb23a3f869fc4a196