List<Integer> productNoList = Lists.newArrayList();
productNoList.add(1);
productNoList.add(2);
productNoList.add(1);
productNoList = productNoList.stream().distinct().collect(Collectors.toList());
```java
List<String> productNoList = Lists.newArrayList();
productNoList.add("123");
productNoList.add("321");
productNoList.add("123");
productNoList = productNoList.stream().distinct().collect(Collectors.toList());