集合元素去重(转载)

内容来自  https://blog.csdn.net/cs6704/article/details/50158373 

原文地址:https://www.cnblogs.com/enjoyjava/p/8886903.html