| Package | Description |
|---|---|
| org.javades.jsimulation.r5 |
A small package for discrete-event simulation.
|
| org.javades.jsimulation.r5.swing |
Swing components for the jsimulation package.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractSimEventList<E extends SimEvent>
A
TreeSet-based implementation of SimEventList. |
class |
DefaultSimEventList<E extends SimEvent>
A default implementation of
SimEventList. |
class |
DefaultSimEventList_IOEL<E extends SimEvent>
The IOEL (Insertion-Order Event List) variant of
AbstractSimEventList. |
class |
DefaultSimEventList_ROEL<E extends SimEvent>
The ROEL (Random-Order Event List) variant of
AbstractSimEventList. |
| Modifier and Type | Method and Description |
|---|---|
Function<SimEventList,String> |
AbstractSimEventList.getToStringFunction()
Gets the function that generates the string for
AbstractSimEventList.toString(). |
| Modifier and Type | Method and Description |
|---|---|
void |
SimEventListListener.notifyEventListEmpty(SimEventList eventList,
double time)
Notification of the event list becoming empty (end of simulation).
|
void |
SimEventListResetListener.notifyEventListReset(SimEventList eventList)
Notification of the event list being reset.
|
void |
SimEventListListener.notifyEventListUpdate(SimEventList eventList,
double time)
Notification of an update in the event list while processing it.
|
void |
SimEventListListener.Fine.notifyNextEvent(SimEventList eventList,
double time)
Notification that the event list's
run() method (or another processor) is about to remove the next
event from the list. |
void |
AbstractSimTimer.schedule(double delay,
SimEventList eventList)
Schedules this timer on an event list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractSimEventList.setToStringFunction(Function<SimEventList,String> toStringFunction)
Sets the function that generates the string for
AbstractSimEventList.toString(). |
| Modifier and Type | Method and Description |
|---|---|
void |
JSimEventList.notifyEventListEmpty(SimEventList eventList,
double time) |
void |
JSimEventList.notifyEventListReset(SimEventList eventList) |
void |
JSimEventList.notifyEventListUpdate(SimEventList eventList,
double time) |
void |
JSimEventList.notifyNextEvent(SimEventList eventList,
double time) |
| Constructor and Description |
|---|
JSimEventList(SimEventList eventList) |
Copyright © 2018. All rights reserved.