public boolean remove(Object key){
  try {
    Object obj=hash.removeObject(key);
    if (obj != null) {
      notifyObservers();
      return true;
    }
    return false;
  }
 catch (  KeyNotFoundException k) {
    k.printStackTrace();
    return false;
  }
catch (  Exception e) {
    e.printStackTrace();
    return false;
  }
}

public boolean remove ( Object key ) { try { Object obj = hash . removeObject ( key ) ; if ( obj != null ) { notifyObservers ( ) ; return true ; } return false ; } catch ( KeyNotFoundException k ) { k . printStackTrace ( ) ; return false ; } catch ( Exception e ) { e . printStackTrace ( ) ; return false ; } }
remove the value associated to the specific key
