Skip to content

Provide a List version of "values" / "collect" #15

@fanf

Description

@fanf

Sometime, we really want to order the objects and so get a List, not a Set, for values.

Of course there is always way to provide an ordering and do "values[XX].toList.sortBy" (or other sort methods). But in a vast majority of cases (on my anodectal side of things), the order is just giving the object the same order as the one they are defined (without the warranty to have a total ordering of not missing some object during refactoring).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions