[YANGTOOLS-920] ImmutableOrdered{LeafSet,Map}NodeBuilder should provide insert/move operations Created: 02/Dec/18  Updated: 09/Jul/21

Status: Confirmed
Project: yangtools
Component/s: data-impl
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Medium
Reporter: Robert Varga Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
blocks YANGTOOLS-921 Design insert/move operations on top ... Confirmed
Relates
relates to YANGTOOLS-922 Improve ordered list tracking Confirmed
Epic Link: MD-SAL patch

 Description   

As per RFC8072 and RFC8040, RESTCONF and other applications need to be able to efficiently manipulate the order of entries.

As a first step, builders should allow efficient implementation of move and insert operations, when being instantiated from a built instance, so that users can manually instantiate replacement lists, without having to resort to manual traversal.

While this does not directly improve situation for DataTree operations, it allows users to more efficiently read-modify-write the contents of the data tree and manipulate these structures when in custom use.


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