如果 set 添加了重复数据的话 set.add() 会 返回 false;添加成功返回 true
set 是否添加了重复数据
猜你喜欢
转载自www.cnblogs.com/java9494/p/9688005.html
今日推荐
周排行