public abstract class StringMatcher<T extends Key<?>> extends Object implements Matcher<T>
Modifier and Type | Class and Description |
---|---|
static class |
StringMatcher.StringOperatorName |
Modifier and Type | Field and Description |
---|---|
protected String |
compareTo |
protected StringMatcher.StringOperatorName |
compareWith |
Modifier | Constructor and Description |
---|---|
protected |
StringMatcher(String compareTo,
StringMatcher.StringOperatorName compareWith) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCompareToValue() |
StringMatcher.StringOperatorName |
getCompareWithOperator() |
protected abstract String |
getValue(T key) |
int |
hashCode() |
boolean |
isMatch(T key) |
protected String compareTo
protected StringMatcher.StringOperatorName compareWith
protected StringMatcher(String compareTo, StringMatcher.StringOperatorName compareWith)
public int hashCode()
public boolean equals(Object obj)
public String getCompareToValue()
public StringMatcher.StringOperatorName getCompareWithOperator()
Copyright 2001-2019, Terracotta, Inc.