src/main/java/org/jsoup/select/Collector.java
/**
     Build a list of elements, by visiting root and every descendant of root, and testing it against the evaluator.
     @param eval Evaluator to test elements against
     @param root root of tree to descend
     @return list of matches; empty if none
     */
Build a list of elements, by visiting root and every descendant of root, and testing it against the evaluator.
Build a list of elements by visiting root and every descendant of root and testing it against the evaluator .
public static Elements collect (Evaluator eval, Element root) {
        Elements elements = new Elements();
        accumulateMatches(eval, elements, root);
        return elements;
    }
public static Elements collect ( Evaluator eval , Element root ) { Elements elements = new Elements ( ) ; accumulateMatches ( eval , elements , root ) ; return elements ; }
Build a list of elements, by visiting root and every descendant of root, and testing it against the evaluator.
Build a list of elements by visiting root and every descendant of root and testing it against the evaluator .