使用SetUniqueList构造不重复的ArrayList List<String> names = SetUniqueList.decorate(new ArrayList<String>()); 参考: http://www.oschina.net/code/snippet_12_4128