2022年7月22日

TreeSet排序和去重和 HashSet、LinkedHashSet去重说明

摘要: TreeSet:排序和去重以Comparable计算的值为准,equals和hashcode无效。 HashSet、LinkedHashSet:去重以equals和hashcode为准。 阅读全文

posted @ 2022-07-22 07:52 谦虚好学每一天 阅读(120) 评论(0) 推荐(0)

导航