Package 

Object PowerCollector

    • Method Summary

      Modifier and Type Method Description
      final Elements collect(Evaluator eval, Element root) Build a list of elements, by visiting root and every descendant of root, and testing it against the evaluator.
      final Element findFirst(Evaluator eval, Element root)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • collect

         final Elements collect(Evaluator eval, Element root)

        Build a list of elements, by visiting root and every descendant of root, and testing it against the evaluator.

        Parameters:
        eval - Evaluator to test elements against
        root - root of tree to descend
      • findFirst

         final Element findFirst(Evaluator eval, Element root)