question: public void toggleVisibility ( String type ) { Map < String , Boolean > visibilityMap = getVisibilityMap ( ) ; Boolean visibility = visibilityMap . get ( type ) ; if ( visibility != null ) visibilityMap . put ( type , ! visibility . booleanValue ( ) ) ; }
target:  Toggles the visibility of the given element type in the  indicator's visibility map.