public static < V > Node < V > findNodeByLabel ( List < Node < V > > parents , String labelPrefix ) { return findNode ( parents , new LabelPrefixPredicate < V > ( labelPrefix ) ) ; }
Returns the first node underneath the given parents which matches the given label prefix . If parents is null or empty or no node is found the method returns null .