Here you can find the source of distinct(List
public static List<String> distinct(List<String> list)
//package com.java2s; //License from project: Apache License import java.util.List; public class Main { public static List<String> distinct(List<String> list) { return null; }/*from w ww.j a v a2 s . c om*/ }