Allow ByteString to implement Comparable
What language does this apply to?
If it's about generated code change, what programming language? Java
Describe the problem you are trying to solve.
Use Guava Range/TreeRangeMap with Proto ByteString
Describe the solution you'd like
Make ByteString implement Java Comparable. The natural sorted order should be using the already provided unsignedLexicographicalComparator.
Describe alternatives you've considered
Wrapping ByteString in another object, having Guava Range accept a Comparator,....
ConcurrentSkipListMap<>(UnsignedByteBufComparator.INSTANCE)
Seems reasonable. This would require a Tier 2 review.
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment.
This issue is labeled inactive because the last activity was over 90 days ago.
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please reopen it.
This issue was closed and archived because there has been no new activity in the 14 days since the inactive label was added.