public Object remove(Object key){
  key=convertKey(key);
  int hashCode=hash(key);
  int index=hashIndex(hashCode,data.length);
  HashEntry entry=data[index];
  HashEntry previous=null;
  while (entry != null) {
    if (entry.hashCode == hashCode && isEqualKey(key,entry.key)) {
      Object oldValue=entry.getValue();
      removeMapping(entry,index,previous);
      return oldValue;
    }
    previous=entry;
    entry=entry.next;
  }
  return null;
}

public Object remove ( Object key ) { key = convertKey ( key ) ; int hashCode = hash ( key ) ; int index = hashIndex ( hashCode , data . length ) ; HashEntry entry = data [ index ] ; HashEntry previous = null ; while ( entry != null ) { if ( entry . hashCode == hashCode && isEqualKey ( key , entry . key ) ) { Object oldValue = entry . getValue ( ) ; removeMapping ( entry , index , previous ) ; return oldValue ; } previous = entry ; entry = entry . next ; } return null ; }
removes the specified mapping from this map .
