HashSet是无序的,要想其有序,需要利用hashcode与equals方法;TreeSet是有序的,里面有个compareTo
上一篇 异常 Non-terminating decimal expansion; no exact representable decimal result的解决方法
下一篇 随记20211231 log4j
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号