集合类

TreeSet类中跟HashSet类一要也没有get()方法来获取列表中的元素,所以也只能通过迭代器的方法来获取 。

原文地址:https://www.cnblogs.com/hnwcan/p/4522586.html