question: private Monitor removeMon ( String label , String detail , String units ) { MonKey key = getMonKey ( label , detail , units ) ; Monitor mon = ( Monitor ) map . get ( key ) ; if ( mon != null ) map . remove ( mon ) ; return mon ; }
target:  remove monitor from map and also return it.  This is done in conjunction with calls to stop and skip. 