Skip to content

reduce vs collect #51

Description

@yh20studio

문제

책 초반 부에서 나오는 reduce 와 collect 부분에서 비슷한 연산을 수행할 수 있지만 어떤 차이가 있을까?

선정 배경

collect의 내부적으로 reduce 연산이 된다고 하는데 어떤 차이가 있을까?

관련 챕터

  • [6장] 스트림으로 데이터 수집 p.200~207

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ch6about chapter 6

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions