List<类> lst = new ArrayList<>() ;
lst.stream().map(类::get需要取得仠的属性名).collect(Collectors.toList()) ;
List<类> lst = new ArrayList<>() ;
lst.stream().map(类::get需要取得仠的属性名).collect(Collectors.toList()) ;
转载于:https://www.cnblogs.com/Wicher-lsl/p/11369307.html