Class OrderedChildnameIterator

  • All Implemented Interfaces:
    Iterator<String>

    public class OrderedChildnameIterator
    extends Object
    implements Iterator<String>
    Return the childrenNames in the order defined by the orderedChildren iterator, and merges it with the existing children defined by allChildren. This implementation focuses on being as lazy as possible; especially consuming the allChildren iterator can be slow.