c510fb5636
- created StringMatcher and some its Collator subclasses to be used in village search - removed toLowerCase calls, as Collator.PRIMARY also ignores the case git-svn-id: https://osmand.googlecode.com/svn/trunk@859 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8
17 lines
323 B
Java
17 lines
323 B
Java
package net.osmand;
|
|
|
|
/**
|
|
* Easy matcher to be able to filter streets,buildings, etc.. using custom
|
|
* rules
|
|
*
|
|
* @author pavol.zibrita
|
|
*/
|
|
public interface StringMatcher {
|
|
|
|
/**
|
|
* @param name
|
|
* @return true if this matcher matches the <code>name</code> String
|
|
*/
|
|
boolean matches(String name);
|
|
|
|
}
|