Java中的Stream和Iterable Stream stream() xxxList.stream() map() xxx.map(yyy::zzz) xxx.map(yyy::new) collect() xxx.collect(Collectors.toList()); Iterable forEach xxx.forEach(yyy:zzz)