Class Utils
- java.lang.Object
-
- Utils
-
public class Utils extends Object
Static utility methods.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 elementsparent
- pointer to whole arraynodeTest
- test that element must pass to be included in the result- Returns:
- array of pointers to elements
-
-