SyntaxFix
Write A Post
Hire A Developer
Questions
Set<YourPropertyType> set = new HashSet<>(); list .stream() .filter(it -> set.add(it.getYourProperty())) .forEach(it -> ...);