本文共 315 字,大约阅读时间需要 1 分钟。
set.addAll(list);这个API,入参是list或set都不会编译报错。只有在实际运行时才会出错
转载于:https://www.cnblogs.com/softidea/p/5169326.html