Open
Description
Nice library!
The TypeId record should implement the Comparable interface:
@Override
public int compareTo(@Nullable TypeId o) {
if (this == o) return 0;
if (o == null) return 1;
return this.toString().compareTo(o.toString());
}
or something similar.
Currently, I'm writing my own Comparator class, which is kinda clunky. A built-in Comparable interface would be much better.
Thanks!
-- Kevin
Metadata
Metadata
Assignees
Labels
No labels