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)

posted on 2021-04-25 16:28  碎羽love星谊  阅读(186)  评论(0编辑  收藏  举报

导航