//remove duplicates from a list with Java 8 or greater
mylist.stream().distinct.collect(Collectors.toList())
Dear Reader, This Blog is closed and remains as an archive. Please find our new Blog at http://cleancode.consulting/
Keine Kommentare:
Kommentar veröffentlichen