Searched refs:match (Results 1 - 2 of 2) sorted by relevance

/org.ahmadsoft.jpostal-1.0.44/src/org/ahmadsoft/postal/
H A DUSPostalCodeService.java140 * Performs a match using default matching options well-suited
143 * ignore whitespace is <code>false</code>, and the minimum match
146 * @param city the city to match.
147 * @param postalCode the postal code within which to match the city.
150 * @see #match(String, int, MatchOptions)
152 public List match(String city, int postalCode) { method in class:USPostalCodeService
153 return match(city, postalCode, new MatchOptions(true, true, false, PostalCodeConstants.CITY_ACCEPTABLE));
159 * process can be controlled by specifying match options.
165 * @param city the city to match.
166 * @param postalCode the postal code within which to match th
172 public List match(String city, int postalCode, MatchOptions options) { method in class:USPostalCodeService
304 public PostalCodeEntry match; field in class:USPostalCodeService.MatchResult
305 MatchResult(PostalCodeEntry match, int distance) argument
[all...]
/org.ahmadsoft.jpostal-1.0.44/src/org/ahmadsoft/postal/test/
H A DSimpleTester.java93 results = uspcs.match("Rancho Park", 90064);
107 results = uspcs.match("Rancho Park", 90064);
121 results = uspcs.match("Ranchow Parc", 90064);
135 results = uspcs.match("Los Angeles", 90064);
149 results = uspcs.match("Urb Montesol", 623);
159 System.out.println("Match Urb Moraltesol, PR against 00623 with match level of unacceptable.");
163 results = uspcs.match("Urb Moraltesol", 623, new USPostalCodeService.MatchOptions(true, true, false, PostalCodeConstants.CITY_UNACCEPTABLE));

Completed in 3 milliseconds