public class StartOnlyMatcher extends PrefixMatcher
ALWAYS_TRUE, myPrefix
Constructor and Description |
---|
StartOnlyMatcher(PrefixMatcher delegate) |
Modifier and Type | Method and Description |
---|---|
PrefixMatcher |
cloneWithPrefix(java.lang.String prefix) |
boolean |
isStartMatch(java.lang.String name) |
boolean |
prefixMatches(java.lang.String name) |
getPrefix, isStartMatch, matchingDegree, prefixMatches, sortMatching
public StartOnlyMatcher(PrefixMatcher delegate)
public boolean isStartMatch(java.lang.String name)
isStartMatch
in class PrefixMatcher
public boolean prefixMatches(java.lang.String name)
prefixMatches
in class PrefixMatcher
public PrefixMatcher cloneWithPrefix(java.lang.String prefix)
cloneWithPrefix
in class PrefixMatcher