Interface CapturePage.TraversalEdges

Enclosing class:
CapturePage
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface CapturePage.TraversalEdges
  • Method Summary

    Modifier and Type
    Method
    Description
    getEdges(Page page)
    Gets the child pages to consider for the given page during a traversal.
  • Method Details

    • getEdges

      Collection<? extends PageReferrer> getEdges(Page page)
      Gets the child pages to consider for the given page during a traversal. This may be called more than once per page per traversal and must give consistent results each call. The returned collection may be iterated more than once and must give consistent results each iteration. TODO: Make this Iterable?