Java obtenha valores distintos da lista
List<String> distinctElements = list.stream()
.distinct()
.collect(Collectors.toList());
Kirk-Patrick Brown