摘要: 常用方式 代码如下: public Map<Long, String> getIdNameMap(List<Account> accounts) { return accounts.stream().collect(Collectors.toMap(Account::getId, Account:: 阅读全文
posted @ 2020-05-27 11:01 陌笠人灬苼 阅读(1013) 评论(0) 推荐(0) 编辑