Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-920

ImmutableOrdered{LeafSet,Map}NodeBuilder should provide insert/move operations

    XMLWordPrintable

Details

    • Improvement
    • Status: Confirmed
    • Medium
    • Resolution: Unresolved
    • None
    • None
    • data-impl
    • None

    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.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: