sealerate icon indicating copy to clipboard operation
sealerate copied to clipboard

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

Open fanf opened this issue 7 years ago • 0 comments

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).

fanf avatar Nov 29 '17 15:11 fanf