protected boolean isEqualKey(Object key1,Object key2){
  return (key1 == key2 || key1.equals(key2));
}

protected boolean isEqualKey ( Object key1 , Object key2 ) { return ( key1 == key2 || key1 . equals ( key2 ) ) ; }
compares two keys , in internal converted form , to see if they are equal . this implementation uses the equals method and assumes neither key is null . subclasses can override this to match differently .
