|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisidia.simulation.process.messages.Message
visidia.simulation.process.messages.BooleanMessage
public class BooleanMessage
This class represents a message containing a boolean.
| Constructor Summary | |
|---|---|
BooleanMessage(boolean value)
Instantiates a new boolean message. |
|
BooleanMessage(boolean data,
MessageType type)
Instantiates a new boolean message. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Gives a copy (a clone) of this object. |
boolean |
data()
Data. |
java.lang.Object |
getData()
the returned object is a new Boolean initialized with the value of data. |
java.lang.String |
toString()
Returns a string representation of the message. |
boolean |
value()
Value. |
| Methods inherited from class visidia.simulation.process.messages.Message |
|---|
getMsgClock, getType, getVisualization, setMsgClock, setType, setVisualization |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BooleanMessage(boolean value)
value - the value
public BooleanMessage(boolean data,
MessageType type)
data - the datatype - the type| Method Detail |
|---|
public boolean value()
public boolean data()
public java.lang.Object clone()
Message
clone in class Messagepublic java.lang.Object getData()
getData in class Messagepublic java.lang.String toString()
Message
toString in class Message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||