News

Depending upon the use case, you can leave the content in the HashSet and use that component to keep the data set unique. You could also use the List.of method to hold the HashSet elements in a List ...