ListString notUsedColumnNameList = StreamconcatallColumnNameListstream usedColumnNameListstreamdistinctcollectCollectorstoList;上面这一行代码对list做了什么处理
这一行代码对allColumnNameList和usedColumnNameList进行了流的合并操作,并去除了重复的元素,最后将结果收集到一个新的列表notUsedColumnNameList中。
原文地址: https://www.cveoy.top/t/topic/iW65 著作权归作者所有。请勿转载和采集!