Collection-比较

 .contains(x)比较的是内容,它也是使用equels方法重写了

posted @ 2023-04-24 18:45  22软工冷薄  阅读(26)  评论(0)    收藏  举报