但如果我的HashMap又是包在一個ArrayList中,要如何取得指定key的val物件呢? ... List<String> values = mapList.stream() // 取出每個Map .map(e -> e.get(key)) ...
確定! 回上一頁