Add single AKA from a country/aka pairing

@param country
@param aka
347040
public void addAka(String country, String aka) {
        if (!isValidString(country) || !isValidString(aka)) {
            return;
        }

        this.akas.add(new CountryDetail(country, aka));
    }
1152160
public static Locale getLocaleByCountry(String lang, String country) {
        return StringUtils.isNotBlank(country) ? new Locale(lang, country) : new Locale(lang);
    }
855586
public function addAssociation(Association $association)
    {
        if (!$this->associations->contains($association)) {
            $this->associations->add($association);
            $association->setQuestion($this);
        }
    }
1063760
public function setCountry($country)
    {
        if ($country === null) {
            throw new Klarna_ArgumentNotSetException('Country');
        }
        if (is_numeric($country)) {
            if (!is_int($country)) {
                $country = intval($country);
            }
            $this->country = $country;
            return;
        }
        if (strlen($country) == 2 || strlen($country) == 3) {
            $this->setCountry(KlarnaCountry::fromCode($country));
            return;
        }
        throw new KlarnaException("Failed to set country! ($country)");
    }
569855
public synchronized Country getCountryV6(InetAddress addr) {
        if (file == null && (dboptions & GEOIP_MEMORY_CACHE) == 0) {
            throw new IllegalStateException("Database has been closed.");
        }
        int ret = seekCountryV6(addr) - COUNTRY_BEGIN;
        if (ret == 0) {
            return UNKNOWN_COUNTRY;
        } else {
            return new Country(countryCode[ret], countryName[ret]);
        }
    }
396762
@Override
    public Association addServerAssociation(String peerAddress, int peerPort, String serverName, String assocName)
            throws Exception {
        return addServerAssociation(peerAddress, peerPort, serverName, assocName, IpChannelType.SCTP);
    }
1191196
public void put_attribute_alias(String attname, String aliasname) throws DevFailed {
		databaseDAO.put_attribute_alias(this, attname, aliasname);
	}
1218381
@Nullable
  public VATCountryData getVATCountryData (@Nonnull final Locale aLocale)
  {
    ValueEnforcer.notNull (aLocale, "Locale");
    final Locale aCountry = CountryCache.getInstance ().getCountry (aLocale);
    return m_aVATItemsPerCountry.get (aCountry);
  }
1206672
protected function wizardAddCountry()
    {
        $this->validatePrompt('code', $this->text('Code'), 'country');
        $this->validatePrompt('name', $this->text('Name'), 'country', '');
        $this->validatePrompt('native_name', $this->text('Native name'), 'country', '');
        $this->validatePrompt('zone_id', $this->text('Zone'), 'country', 0);
        $this->validatePrompt('status', $this->text('Status'), 'country', 0);
        $this->validatePrompt('weight', $this->text('Weight'), 'country', 0);

        $this->validateComponent('country');
        $this->addCountry();
    }
209856
private static Locale createConstant(String lang, String country) {
        BaseLocale base = BaseLocale.createInstance(lang, country);
        return getInstance(base, null);
    }
608918
protected function setCountry($country_code)
    {
        $this->data_country = array();

        if (!empty($country_code)) {
            $this->data_country = $this->country->get($country_code);
            if (empty($this->data_country)) {
                $this->outputHttpStatus(404);
            }
        }
    }
553146
public function setCountry(Country $country = null)
    {
        if ($this->country !== $country) {
            $this->country = $country;
        }

        return $this;
    }
815621
public void addNetwork(String country, String networkName) {
        if (!isValidString(country) || !isValidString(networkName)) {
            return;
        }

        this.network.add(new CountryDetail(country, networkName));
    }
75799
public void addAttribute(String alias, AttributeKey<?> attrKey) {
        ensureNotStarted();
        builder.addAttribute(alias, attrKey);
    }
231582
public void setSelectedCountry(@NonNull Country country) {
        Log.d(TAG, "Selected country changed to " + country.getDisplayName());
        countryNameTextView.setText(country.getDisplayName());
        countryCodeTextView.setText(country.getDialCode());
        selectedCountry = country;
    }
961175
public void setAssociationVersions(java.util.Collection<AssociationVersionInfo> associationVersions) {
        if (associationVersions == null) {
            this.associationVersions = null;
            return;
        }

        this.associationVersions = new com.amazonaws.internal.SdkInternalList<AssociationVersionInfo>(associationVersions);
    }
125321
def add(self, *a, **ka):
        
        route = a[0] if a and isinstance(a[0], Route) else Route(*a, **ka)
        self.routes.append(route)
        if route.name:
            self.named[route.name] = route.format_str()
        if route.static:
            self.static[route.route] = route.target
            return
        gpatt = route.group_re()
        fpatt = route.flat_re()
        try:
            gregexp = re.compile('^(%s)$' % gpatt) if '(?P' in gpatt else None
            combined = '%s|(^%s$)' % (self.dynamic[-1][0].pattern, fpatt)
            self.dynamic[-1] = (re.compile(combined), self.dynamic[-1][1])
            self.dynamic[-1][1].append((route.target, gregexp))
        except (AssertionError, IndexError), e: # AssertionError: Too many groups
            self.dynamic.append((re.compile('(^%s$)'%fpatt),[(route.target, gregexp)]))
        except re.error, e:
            raise RouteSyntaxError("Could not add Route: %s (%s)" % (route, e))