private DNode searchFrontendNode ( ) { DNode result = DNode . NOT_FOUND ; for ( DNode node : nodes ) { if ( node . getFrontend ( ) ) { result = node ; break ; } } return result ; }
Searches the first node with frontend property set to true