波神

导航

2017年7月10日 #

Lamda表达式,map和集合操作

摘要: 1、Lamda表达式,map快速获取对象的某一个属性生成集合 List<String> elementSlugs = elementInstanceBOList.stream().map( elementInstance->elementInstance.getSlug()).collect( Co 阅读全文

posted @ 2017-07-10 13:38 波神 阅读(657) 评论(0) 推荐(0) 编辑