question: public static void removeMapEntries ( Map map , Set set ) { if ( ( set != null ) && ! set . isEmpty ( ) ) { for ( Iterator iter = set . iterator ( ) ; iter . hasNext ( ) ; ) { map . remove ( iter . next ( ) ) ; } } }
target:  Removes the mapping of which keys matches with items in a given set.