[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 |
||
| 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: |