Skip to content

21/22 Q4b generate vs new MyStream<T> #337

@cyiting

Description

@cyiting

For those that have attempted this question, can I check if there is any difference between returning a new MyStream<T> vs just calling the static generate method for the map method? Prof's walkthrough returns a new MyStream<T> but is it considered less preferable to call the generate method since both return the same outcome?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions