java 8 list Collectors.toMap 保持顺序的两种方案

1 年前 · 来自专栏 java技术