上面我们调用了collect(Collectors.toList())将值转成了List。 使用stream获取map的value. 上面我们获取的map的key,同样的我们也可以获取map的value:
確定! 回上一頁