使用set集合存自己定义的对象的时候需重写hashcode和equels方法

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_42664961/article/details/109018404