public abstract class KeyMatcher
extends java.lang.Object
| Constructor and Description |
|---|
KeyMatcher() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static KeyMatcher |
getWildcardMatcher()
Return a shared instance of a KeyMatcher that matches anything.
|
boolean |
matches(KeyedMessage other)
Return true if the message's key matches this key matcher.
|
abstract boolean |
matches(MessageKey key) |
public abstract boolean matches(MessageKey key)
public boolean matches(KeyedMessage other)
public static KeyMatcher getWildcardMatcher()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Object