question: public void dontNotify ( final TurnListener turnListener ) { for ( final Map . Entry < Integer , Set < TurnListener > > mapEntry : register . entrySet ( ) ) { final Set < TurnListener > set = mapEntry . getValue ( ) ; final Set < TurnListener > toBeRemoved = new HashSet < TurnListener > ( ) ; if ( set . contains ( turnListener ) ) { toBeRemoved . add ( turnListener ) ; } for ( final TurnListener event : toBeRemoved ) { set . remove ( event ) ; } } }
target:  Forgets all registered notification entries for the given TurnListener where the entry's message equals the given one.