Java8 使用 stream().map()提取List對象的某一列值及排重 List對象類(StudentInfo) StudentInfo對象類 測試數據 提取某一列(以name為例) 輸出結果如下圖: ...