摘要: Set Set是Collection的子接口,其定义如下: public interface Set<E> extends Collection<E> 与List相同,此接口也使用了泛型,使用时必须指定具体的类型。 Set常见的实现子类:HashSet、TreeSet HashSet HashSet 阅读全文
posted @ 2023-11-02 15:54 rowbed 阅读(3) 评论(0) 推荐(0) 编辑