Get the streets from a city inseeCode and partial street name

REST: GET /xdsl/eligibility/streets
@param inseeCode [required] The inseeCode of the city
@param partialName [required] The partial name to match against the name of the street
@deprecated
974630
public ArrayList<OvhStreet> eligibility_streets_GET(String inseeCode, String partialName) throws IOException {
		String qPath = "/xdsl/eligibility/streets";
		StringBuilder sb = path(qPath);
		query(sb, "inseeCode", inseeCode);
		query(sb, "partialName", partialName);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t6);
	}
175110
public static synchronized List getPropertyNames(String entityTypeName) {
        if (propertyNames != null) {
            return propertyNames;
        } else {
            {
                List names = new ArrayList();
                names.add(PROP_L);
                names.add(PROP_LOCALITY_NAME);
                names.add(PROP_ST);
                names.add(PROP_STATE_OR_PROVINCE_NAME);
                names.add(PROP_STREET);
                names.add(PROP_SEE_ALSO);
                names.add(PROP_DESCRIPTION);
                names.addAll(GeographicLocation.getPropertyNames("GeographicLocation"));
                propertyNames = Collections.unmodifiableList(names);
                return propertyNames;
            }
        }
    }
645157
public net.minidev.ovh.api.xdsl.OvhLine serviceName_lines_number_GET(String serviceName, String number) throws IOException {
		String qPath = "/xdsl/{serviceName}/lines/{number}";
		StringBuilder sb = path(qPath, serviceName, number);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, net.minidev.ovh.api.xdsl.OvhLine.class);
	}
329098
public AddressDataType getAddressDataType(RolodexContract rolodex) {

		AddressDataType addressDataType = AddressDataType.Factory.newInstance();
		if (rolodex != null) {

			String street1 = rolodex.getAddressLine1();
			addressDataType.setStreet1(street1);
			String street2 = rolodex.getAddressLine2();
			if (street2 != null && !street2.equals("")) {
				addressDataType.setStreet2(street2);
			}
			String city = rolodex.getCity();
			addressDataType.setCity(city);
			String county = rolodex.getCounty();
			if (county != null && !county.equals("")) {
				addressDataType.setCounty(county);
			}
						
			String postalCode = rolodex.getPostalCode();
			if (postalCode != null && !postalCode.equals("")) {
				addressDataType.setZipPostalCode(postalCode);
			}
			String country = rolodex.getCountryCode();
			CountryCodeDataType.Enum countryCodeDataType = getCountryCodeDataType(country);
			addressDataType.setCountry(countryCodeDataType);
			
			String state = rolodex.getState();
			if (state != null && !state.equals("")) {
				if (countryCodeDataType != null) {
					if (countryCodeDataType
							.equals(CountryCodeDataType.USA_UNITED_STATES)) {
						addressDataType.setState(getStateCodeDataType(country, state));
					} else {
						addressDataType.setProvince(state);
					}
				}
			}
		}
		return addressDataType;
	}
565518
public static PublicKey decodeECPoint(String encode, String curveName) {
		return decodeECPoint(SecureUtil.decode(encode), curveName);
	}
225802
@Override
    public Object get(String propName) {
        if (propName.equals(PROP_L)) {
            return getL();
        }
        if (propName.equals(PROP_LOCALITY_NAME)) {
            return getLocalityName();
        }
        if (propName.equals(PROP_ST)) {
            return getSt();
        }
        if (propName.equals(PROP_STATE_OR_PROVINCE_NAME)) {
            return getStateOrProvinceName();
        }
        if (propName.equals(PROP_STREET)) {
            return getStreet();
        }
        if (propName.equals(PROP_SEE_ALSO)) {
            return getSeeAlso();
        }
        if (propName.equals(PROP_DESCRIPTION)) {
            return getDescription();
        }
        return super.get(propName);
    }
105560
def DemangleName(self, name):
    ""

    # Handle special cases where our heuristcs doesn't work.
    # Example:"Triemli" --> ("Triemli", "Zurich").
    if name in SPECIAL_NAMES:
      return SPECIAL_NAMES[name]

    # Expand abbreviations.
    for abbrev, expanded in [('str.', 'strasse'),
                             ('Schiffst.', 'Schiffstation')]:
      suffix_pos = name.rfind(abbrev)
      if suffix_pos > 0:
        name = name[:suffix_pos] + expanded
    #end for

    names = name.split(", ", 1)
    if len(names) == 2:
      if names[1] in POI_TERMS:
        nam = u'%s %s' % (names[0], names[1])
      else:
        nam = names[1]
      city = names[0]
    else:
      # "Zurich Enge": First word of station name designates the city
      nam = names[0]
      city = nam.split(' ')[0]
    return (nam, SPECIAL_CITIES.get(city, city))
618512
DestTokensMatcher matchSourcePropertyName(Tokens destTokens, int destStartIndex) {
    int[] matchedTokens = new int[sourceTokens.size()];
    for (int sourceIndex = 0; sourceIndex < sourceTokens.size(); sourceIndex++) {
      Tokens srcTokens = sourceTokens.get(sourceIndex);
      matchedTokens[sourceIndex] = matchTokens(srcTokens, destTokens, destStartIndex);
    }
    return new DestTokensMatcher(matchedTokens);
  }
1278668
function (code) {
            var list = {}, cde = 'short', name = null;

            if ( typeof(code) != 'undefined' && typeof(userLocales[0][code]) == 'string' ) {
                cde = code
            } else if ( typeof(code) != 'undefined' ) (
                console.warn('`'+ code +'` not supported : sticking with `short` code')
            )

            for ( var i = 0, len = userLocales.length; i< len; ++i ) {

                if (userLocales[i][cde]) {

                    name = userLocales[i].full || userLocales[i].officialName.short;

                    if ( name )
                        list[ userLocales[i][cde] ] = name;
                }
            }

            return list
        }
86749
@Override
    public int getAttributeIndex(String namespaceURI, String localName)
    {
        // Note: cut'n pasted from "getAttributeInfo()"
        if (mCurrToken != START_ELEMENT) {
            throw new IllegalStateException(ErrorConsts.ERR_STATE_NOT_STELEM);
        }
        return mElementStack.findAttributeIndex(namespaceURI, localName);
    }
26608
Neighbour getBusNeighbour(String busId)
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "getBusNeighbour", busId);
      
    Neighbour neighbour = null;
    synchronized(_neighbours)
    {
      Iterator neighbours = _neighbours.keySet().iterator();
      while (neighbours.hasNext())
      {
        neighbour = getNeighbour((SIBUuid8) neighbours.next());
        if (neighbour.getBusId().equals(busId)) 
        {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(tc, "getBusNeighbour", neighbour);
          return neighbour;
        }        
      }
    }

    synchronized(_recoveredNeighbours)
    {
      Iterator recoveredNeighbours = _recoveredNeighbours.keySet().iterator();
      while (recoveredNeighbours.hasNext())
      {
        neighbour = (Neighbour) _recoveredNeighbours.get(recoveredNeighbours.next());
        if (neighbour.getBusId().equals(busId)) 
        {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(tc, "getBusNeighbour", neighbour);
          return neighbour;
        }        
      }
    }

    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "getBusNeighbour", null);
    return null;
  }
336071
public IPAddress getAddress(IPVersion version) throws IncompatibleAddressException {
		if(!addressProvider.isInvalid()) { // Avoid the exception the second time with this check
			try {
				return toAddress(version);
			} catch(AddressStringException e) { /* note that this exception is cached, it is not lost forever */ }
		}
		return null;
	}
825938
def check_street_prefix(self, token):
        
        if self.street and not self.street_prefix and token.lower().replace('.', '') in self.parser.prefixes.keys():
            self.street_prefix = self._clean(self.parser.prefixes[token.lower().replace('.', '')])
            return True
        return False
422566
def lookup
      if !options[:street_address] and (options[:ip_address] or ip_address?)
        name = options[:ip_lookup] || Configuration.ip_lookup || Geocoder::Lookup.ip_services.first
      else
        name = options[:lookup] || Configuration.lookup || Geocoder::Lookup.street_services.first
      end
      Lookup.get(name)
    end
768085
public OvhPrice xdsl_offers_offersName_GET(net.minidev.ovh.api.price.xdsl.OvhOffersEnum offersName) throws IOException {
		String qPath = "/price/xdsl/offers/{offersName}";
		StringBuilder sb = path(qPath, offersName);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhPrice.class);
	}
12276
public static Collection<InetAddress> getAddresses(Map<String, Map<String, InetAddressInfo>> inetAddressMap) throws Exception {
        Set<InetAddress> addrs=new HashSet<>();

        for(Map.Entry<String, Map<String, InetAddressInfo>> inetAddressMapEntry : inetAddressMap.entrySet()) {
            Map<String, InetAddressInfo> protocolInetAddressMap=inetAddressMapEntry.getValue();
            for(Map.Entry<String, InetAddressInfo> protocolInetAddressMapEntry : protocolInetAddressMap.entrySet()) {
                InetAddressInfo inetAddressInfo=protocolInetAddressMapEntry.getValue();
                // add InetAddressInfo to sets based on IP version
                List<InetAddress> addresses=inetAddressInfo.getInetAddresses();
                for(InetAddress address : addresses) {
                    if(address == null)
                        throw new RuntimeException("failed converting address info to IP address: " + inetAddressInfo);
                    addrs.add(address);
                }
            }
        }
        return addrs;
    }
172775
def _get_pos_name(code, name='parent', english=True, delimiter=':',
                  pos_tags=pos_map.POS_MAP):
    
    pos_name = pos_map.get_pos_name(code, name, english, pos_tags=pos_tags)
    return delimiter.join(pos_name) if name == 'all' else pos_name