public RamResourceCore getChild ( String name , boolean caseSensitive ) { if ( children == null ) return null ; RamResourceCore child ; for ( int i = children . size ( ) - 1 ; i >= 0 ; i -- ) { child = ( RamResourceCore ) children . get ( i ) ; if ( child != null && ( caseSensitive ? child . getName ( ) . equals ( name ) : child . getName ( ) . equalsIgnoreCase ( name ) ) ) return child ; } return null ; }
returns a child that match given name