question: protected ArrayList cloneMap ( ArrayList list ) { if ( list == null ) { list = new ArrayList ( 5 ) ; } list . clear ( ) ; if ( nodes != null ) { final int size = nodes . size ( ) ; for ( int i = 0 ; i < size ; ++ i ) { list . add ( nodes . get ( i ) ) ; } } return list ; }
target:  NON-DOM: copy content of this map into the specified ArrayList