|
||||||||||
| 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.IntegerMessage
public class IntegerMessage
This class represents a message containing an integer.
| Constructor Summary | |
|---|---|
IntegerMessage(int data)
Instantiates a new integer message. |
|
IntegerMessage(java.lang.Integer data)
Instantiates a new integer message. |
|
IntegerMessage(java.lang.Integer data,
MessageType type)
Instantiates a new integer message. |
|
IntegerMessage(int data,
MessageType type)
Instantiates a new integer message. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Gives a copy (a clone) of this object. |
java.lang.Integer |
data()
Same as getData(). |
java.lang.Integer |
getData()
Returns an Integer representation of data using : new Integer(data). |
java.lang.String |
toString()
Returns a string representation of the message. |
int |
value()
Return an int representation of data. |
| 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 IntegerMessage(java.lang.Integer data)
data - the datapublic IntegerMessage(int data)
data - the data
public IntegerMessage(java.lang.Integer data,
MessageType type)
data - the datatype - the type
public IntegerMessage(int data,
MessageType type)
data - the datatype - the type| Method Detail |
|---|
public int value()
public java.lang.Integer data()
public java.lang.Integer getData()
getData in class Messagepublic java.lang.Object clone()
Message
clone 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 | |||||||||