I am trying to remove duplicates from the list of objects based on two properties, this question would be similar to below link but I am trying to find uniqueness based on two properties using java 8 features.I am trying to remove duplicates from the list