public synchronized Object remove(Object key){
  removeBlanks();
  WeakKeyReference keyRef=new WeakKeyReference(key);
  WeakReference ref=(WeakReference)table.remove(keyRef);
  if (ref == null)   return null;
  return ref.get();
}

public synchronized Object remove ( Object key ) { removeBlanks ( ) ; WeakKeyReference keyRef = new WeakKeyReference ( key ) ; WeakReference ref = ( WeakReference ) table . remove ( keyRef ) ; if ( ref == null ) return null ; return ref . get ( ) ; }
remove the object that the given key maps to . if found return the object , otherwise return null .
