public UberNode getFirstByName ( String name ) { // TODO consider less naive impl UberNode ret = null ; for ( UberNode node : data ) { if ( name . equals ( node . getName ( ) ) ) { ret = node ; break ; } } return ret ; }
Gets first child of this uber node having the given name attribute .