public double removeKey ( T element ) { AtomicDouble v = map . remove ( element ) ; dirty . set ( true ) ; if ( v != null ) return v . get ( ) ; else return 0.0 ; }
This method removes given key from counter