public class ContainerEvent<T> extends java.lang.Object implements Event
Constructor and Description |
---|
ContainerEvent(T storedObject)
Create the object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Compare the objects using internal fields.
|
T |
getStoredObject()
Get the stored object.
|
int |
hashCode()
Get the hash code of the object.
|
java.lang.String |
toString()
The string representation of the object.
|
public ContainerEvent(T storedObject)
storedObject
- the object to storepublic T getStoredObject()
public int hashCode()
Event
public boolean equals(java.lang.Object obj)
Event
equals
in interface Event
equals
in class java.lang.Object
obj
- the objectProcessor.process(Event)
public java.lang.String toString()
Event
Copyright 2012-2013 Michal Turek, AnotherFSM.