DodsV findDodsV ( String name , boolean useDone ) { for ( DodsV dodsV : children ) { if ( useDone && dodsV . isDone ) continue ; // LOOK useDone ?? if ( ( name == null ) || ( dodsV == null ) || ( dodsV . bt == null ) ) { logger . warn ( "Corrupted structure" ) ; continue ; } if ( name . equals ( dodsV . bt . getEncodedName ( ) ) ) return dodsV ; } return null ; }
Search the immediate children for a BaseType with given name .