[YANGTOOLS-169] Make InstanceIdentifier.PathArgument implement Comparable Created: 23/May/14  Updated: 10/Apr/22  Resolved: 25/Jun/14

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All



 Description   

It seems that all the subclasses of PathArgument can be made Comparable, which in turn will allow us to make InstanceIdentifier Comparable.

This would be a major feat, as that will define total ordering of all data, thus eliminating the various ordering issues we are seeing in the tools.

Finally, it will allow use of TreeMaps and other things which require total ordering.



 Comments   
Comment by Martin Vitez [ 13/Jun/14 ]

Proposed patch:

https://git.opendaylight.org/gerrit/#/c/7952/

Generated at Wed Feb 07 20:52:27 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.