标签:distinct streams col tor class div nbsp ram rabl
List<Integer> collect = StreamSupport.stream(dwflztglbRepository.findAll().spliterator(), false).map(Dwflztglb::getZtId).distinct().collect(Collectors.toList());
java的Iterable转stram流操作再转List集合
标签:distinct streams col tor class div nbsp ram rabl
原文地址:https://www.cnblogs.com/pzw23/p/13225077.html