public class Utils extends Object
Modifier and Type | Method and 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.
|
public static <T> List<CGINPointer> getElementPointers(T[] array, CGINPointer parent, org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest)
array
- of elementsparent
- pointer to whole arraynodeTest
- test that element must pass to be included in the result