public abstract class AbstractMessageCondition<T extends AbstractMessageCondition<T>> extends 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(Object other) |
protected abstract Collection<?> |
getContent()
Return the collection of objects the message condition is composed of
(e.g.
|
protected abstract String |
getToStringInfix()
The notation to use when printing discrete items of content.
|
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
combine, compareTo, getMatchingCondition
protected abstract Collection<?> getContent()
null
.protected abstract String getToStringInfix()