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 other) |
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(@Nullable java.lang.Object other)
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()