public abstract class AlphaNumericMessage extends Message
Message.Type| Modifier and Type | Field and Description |
|---|---|
protected String |
value |
AGGREGATE_SET, done, HASH_MULTIPLIER| Modifier | Constructor and Description |
|---|---|
protected |
AlphaNumericMessage(Message.Type type,
String value,
TagsCardinality cardinality) |
protected |
AlphaNumericMessage(String aspect,
Message.Type type,
String value,
TagsCardinality cardinality,
String[] tags) |
| Modifier and Type | Method and Description |
|---|---|
void |
aggregate(Message message)
Aggregate message.
|
int |
compareTo(Message message) |
boolean |
equals(Object object)
Messages must implement hashCode.
|
String |
getValue()
Get underlying message value.
|
int |
hashCode()
Messages must implement hashCode.
|
canAggregate, getAspect, getDone, getTags, getTagsCardinality, getType, setDoneprotected final String value
protected AlphaNumericMessage(Message.Type type, String value, TagsCardinality cardinality)
protected AlphaNumericMessage(String aspect, Message.Type type, String value, TagsCardinality cardinality, String[] tags)
public void aggregate(Message message)
public String getValue()
public int hashCode()
Messagepublic boolean equals(Object object)
MessageCopyright © 2025. All rights reserved.