Skip to content

Set and TreeMap are using reverse order #173

Description

@orionll
System.out.println(Set.set(Ord.intOrd, 1, 2, 3)); // Prints Set(3,2,1)
System.out.println(TreeMap.<Integer, String> treeMap(Ord.intOrd)
    .set(1, "a").set(2, "b").set(3, "c")); // Prints TreeMap((3:c),(2:b),(1:a))

Set and TreeMap should use ascending order rather than descending.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions