|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuchicago.src.sim.engine.BasicAction
uchicago.src.sim.engine.SimAction
public class SimAction
A simple BasicAction that wraps a Method and an Object, and provides a execute() to call that Method on that Object.
| Field Summary |
|---|
| Fields inherited from class uchicago.src.sim.engine.BasicAction |
|---|
INTERVAL_UPDATER, ONE_TIME_UPDATER, updater |
| Constructor Summary | |
|---|---|
SimAction(java.lang.Object object,
java.lang.reflect.Method method)
Deprecated. Constructs a SimAction from the specified Object and Method. |
|
| Method Summary | |
|---|---|
void |
execute()
Deprecated. Executes this SimAction (i.e. invokes a Method on an Object) |
| Methods inherited from class uchicago.src.sim.engine.BasicAction |
|---|
addToGroup, getIntervalTime, getName, getNextTime, reSchedule, setIntervalTime, setName, setNextTime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimAction(java.lang.Object object,
java.lang.reflect.Method method)
object - the object on which to call the Method.method - the Method to call.| Method Detail |
|---|
public void execute()
execute in class BasicAction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||