public class LabelMessage extends Message
Modifier and Type | Field and Description |
---|---|
protected java.util.Deque<java.lang.Integer> |
labelStack |
DEFAULT_MESSAGE_LENGTH
Constructor and Description |
---|
LabelMessage(long length,
int label) |
Modifier and Type | Method and Description |
---|---|
int |
current() |
int |
getLabel() |
int |
getNumberOfLabels() |
boolean |
hasLabel() |
int |
pop() |
void |
push(int label) |
void |
setLabel(int label) |
java.lang.String |
toString() |