public abstract class StringMatcher<T extends Key<T>> extends Object implements IMatcher<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
StringMatcher.EStringOperatorName |
| Modifier | Constructor and Description |
|---|---|
protected |
StringMatcher(String sCompareTo,
StringMatcher.EStringOperatorName eCompareWith) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getCompareToValue() |
StringMatcher.EStringOperatorName |
getCompareWithOperator() |
protected abstract String |
getValue(T key) |
int |
hashCode() |
boolean |
isMatch(T key) |
protected StringMatcher(@Nonnull String sCompareTo, @Nonnull StringMatcher.EStringOperatorName eCompareWith)
@Nonnull public final StringMatcher.EStringOperatorName getCompareWithOperator()
public final boolean isMatch(T key)
public boolean equals(Object o)
Copyright © 2016–2021 Philip Helger. All rights reserved.