public abstract class AbstractMessageCondition<T extends AbstractMessageCondition<T>> extends java.lang.Object implements MessageCondition<T>
MessageCondition's that pre-declares abstract methods
getContent() and getToStringInfix() in order to provide
implementations of equals(Object), hashCode(), and
toString().| Constructor and Description |
|---|
AbstractMessageCondition() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
protected abstract java.util.Collection<?> |
getContent()
Return the collection of objects the message condition is composed of
(e.g.
|
protected abstract java.lang.String |
getToStringInfix()
The notation to use when printing discrete items of content.
|
int |
hashCode() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcombine, compareTo, getMatchingConditionprotected abstract java.util.Collection<?> getContent()
null.protected abstract java.lang.String getToStringInfix()
public boolean equals(@Nullable java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object