empCodeKeyAndLineValueMapcomputeIfAbsentempCode k - new ArrayListaddlineNum; k - new ArrayListaddlineNum; 换成函数引用
empCodeKeyAndLineValueMap.computeIfAbsent(empCode, ArrayList::new).add(lineNum);
原文地址: https://www.cveoy.top/t/topic/iyqG 著作权归作者所有。请勿转载和采集!