public static MapPro duplicateDataMember ( ComponentImpl c , MapPro map , MapPro newMap , boolean deepCopy ) { Iterator it = map . entrySet ( ) . iterator ( ) ; Map . Entry entry ; Object value ; while ( it . hasNext ( ) ) { entry = ( Entry ) it . next ( ) ; value = entry . getValue ( ) ; if ( ! ( value instanceof UDF ) ) { if ( deepCopy ) value = Duplicator . duplicate ( value , deepCopy ) ; newMap . put ( entry . getKey ( ) , value ) ; } } return newMap ; }
duplicate the datamember in the map ignores the udfs