public abstract class AbstractMessageCondition<T extends AbstractMessageCondition<T>> extends java.lang.Object implements MessageCondition<T>
MessageCondition
types providing 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, wait
combine, compareTo, getMatchingCondition
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
protected abstract java.util.Collection<?> getContent()
null
.protected abstract java.lang.String getToStringInfix()