Class Utils


  • public class Utils
    extends Object
    Static utility methods.
    • Method Detail

      • getElementPointers

        public static <T> List<CGINPointer> getElementPointers​(T[] array,
                                                               CGINPointer parent,
                                                               org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest)
        Gets pointers to the elements of the given array that satisfy the given test.
        Parameters:
        array - of elements
        parent - pointer to whole array
        nodeTest - test that element must pass to be included in the result
        Returns:
        array of pointers to elements