public boolean equals(Object o){
  if (o instanceof ServiceConfigManager) {
    ServiceConfigManager oscm=(ServiceConfigManager)o;
    if (serviceName.equals(oscm.serviceName) && version.equals(oscm.version)) {
      return (true);
    }
  }
  return (false);
}

public boolean equals ( Object o ) { if ( o instanceof ServiceConfigManager ) { ServiceConfigManager oscm = ( ServiceConfigManager ) o ; if ( serviceName . equals ( oscm . serviceName ) && version . equals ( oscm . version ) ) { return ( true ) ; } } return ( false ) ; }
compares this object with the given object .
