public Object remove ( long key ) { if ( tc . isEntryEnabled ( ) ) Tr . entry ( tc , "remove" , new Object [ ] { new Long ( key ) , this } ) ; int hash = getHashForExistingEntry ( key ) ; Object result = null ; if ( hash >= 0 ) { result = _values [ hash ] ; } if ( result != null ) { if ( tc . isDebugEnabled ( ) ) Tr . debug ( tc , "Entry found in map - removing" ) ; _values [ hash ] = DELETED ; _currentLoad -- ; } if ( tc . isEntryEnabled ( ) ) Tr . exit ( tc , "remove" , result ) ; return result ; }
Remove the entry from the map that is associated with the given key .