|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanet.simulate.Scheduler
Constructor Summary | |
Scheduler()
Initializes this Scheduler. |
Method Summary | |
void |
addEvents(java.util.Vector events)
Adds all the Event instances within events into the current scheduler. |
java.util.Vector |
getEvents(int time)
Gets all alerts occurred at time time. |
boolean |
hasNext()
Shows if there are more alerts. |
java.lang.String |
toString()
Shows the string representation of the current scheduler. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Scheduler()
Method Detail |
public void addEvents(java.util.Vector events)
addEvents
in interface IScheduler
events
- Unordered list of events.IScheduler.addEvents(java.util.Vector)
public java.util.Vector getEvents(int time)
getEvents
in interface IScheduler
time
- Number of step which obtain all its alerts.
IScheduler.getEvents(int)
public boolean hasNext()
hasNext
in interface IScheduler
IScheduler.hasNext()
public java.lang.String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |