Skip to content

Idea: Add sortedTo (and friends) to Iterator #19

Open
@BalmungSan

Description

@BalmungSan

I feel like having a sortedTo(factory) (as well as all the other sorting variants) on Iterator would be a good addition.

It would be good to discuss if it can produce any performance advantage over iterator.to(factory).sorted or if it can be considered useful just as an API improvement to avoid two calls.
It is also worth discussing if this would be useful for all collections in general; for example, list.sortedTo(ArraySeq).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlibrary:collectionsstatus:pendingThis enhancement request lacks consensus on whether or not to include it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions