T
- type of simulation objectpublic class SimpleCollectMessage<T> extends Object implements CollectMessage, Supplier<T>
CollectMessage
containing a simulation
object.Constructor and Description |
---|
SimpleCollectMessage(T simObject)
Constructs a new
SimpleCollectMessage containing the given
object. |
Modifier and Type | Method and Description |
---|---|
T |
get() |
T |
getSimObject()
Returns the contained simulation object.
|
String |
toString() |
public SimpleCollectMessage(T simObject)
SimpleCollectMessage
containing the given
object.simObject
- the contained object