public class PatternsMatcher extends Object
Modifier and Type | Field and Description |
---|---|
static PatternsMatcher |
ANY
A pattern which patches any string
|
static PatternsMatcher |
NONE
A pattern which matches no string
|
Constructor and Description |
---|
PatternsMatcher(Collection<String> rawPatterns) |
PatternsMatcher(com.google.common.collect.ImmutableSet<Pattern> compiledPatterns) |
Modifier and Type | Method and Description |
---|---|
<V> Map<String,V> |
filterMatchingMapKeys(Map<String,V> entries) |
boolean |
isMatchesAny() |
boolean |
isMatchesNone() |
boolean |
matches(String string) |
boolean |
substringMatches(String string) |
public static final PatternsMatcher ANY
public static final PatternsMatcher NONE
public PatternsMatcher(Collection<String> rawPatterns)
public PatternsMatcher(com.google.common.collect.ImmutableSet<Pattern> compiledPatterns)
public boolean matches(String string)
public boolean substringMatches(String string)
public boolean isMatchesAny()
public boolean isMatchesNone()