Class OrderedChildnameIterator
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.tree.impl.OrderedChildnameIterator
-
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.
-
-
Constructor Summary
Constructors Constructor Description OrderedChildnameIterator(Iterable<String> orderedChildren, Iterable<String> allChildren)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Stringnext()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-