I have a list/collection of objects that may or may not have the same property values. What\'s the easiest way to get a distinct list of the objects with equal properties? I
Java 8:
recipients = recipients.stream() .distinct() .collect(Collectors.toList());
See java.util.stream.Stream#distinct.