Good morning everyone,

I have the need to perform a custom iteration on child nodes based on
a custom property starting from the NodeBuilder. I'm working at
oak-core level.

I'm implementing a LinkedList approach in the repository therefore I
have something like

{
    :next = node1,
    node2 : {
        :next = <nowhere-last-element>
    },
    node1 : {
        :next = node2
    }
}

(intentionally shuffled the node representation)

from this I could fetch the next node by
Nodebuilder.getChildNode(<whateverinnext>).

I didn't find any iterator() (or similar) method at the
NodeBuilder/State level and therefore going to implement a custom
method in my class that need this approach but if you have any better
suggestion I'm more than happy :)

Thank you
Regards
Davide

Reply via email to