Class ResourcePathCollatingIterator

java.lang.Object
org.apache.commons.collections4.iterators.CollatingIterator<ContextResource>
org.apache.sling.caconfig.resource.impl.util.ResourcePathCollatingIterator
All Implemented Interfaces:
Iterator<ContextResource>

public class ResourcePathCollatingIterator extends org.apache.commons.collections4.iterators.CollatingIterator<ContextResource>
Expected a list of iterators containing paths, where each path is a direct or indirect parent of the previous one (= sorted by path hierarchy starting with the deepest path). Result is a new iterator with all resources combined from all iterators in the same order, duplicates not eliminated.