Skip navigation links
A C D E F G J M N O P R S T U 

A

AbstractSimEventList<E extends SimEvent> - Class in org.javades.jsimulation.r5
A TreeSet-based implementation of SimEventList.
AbstractSimEventList(Comparator, double, Class<E>) - Constructor for class org.javades.jsimulation.r5.AbstractSimEventList
Creates a new (abstract) event list (main constructor).
AbstractSimTimer - Class in org.javades.jsimulation.r5
A general-purpose timer.
AbstractSimTimer(String) - Constructor for class org.javades.jsimulation.r5.AbstractSimTimer
Creates a timer with given name.
AbstractSimTimer() - Constructor for class org.javades.jsimulation.r5.AbstractSimTimer
Creates a timer without name (null name).
action(SimEvent<T>) - Method in interface org.javades.jsimulation.r5.SimEventAction
Invokes the action for supplied SimEvent.
add(E) - Method in class org.javades.jsimulation.r5.DefaultSimEventList_IOEL
Overridden in order to set the deconflict value on the event added.
add(E) - Method in class org.javades.jsimulation.r5.DefaultSimEventList_ROEL
Overridden in order to set the deconflict value on the event added.
addAll(Collection<? extends E>) - Method in class org.javades.jsimulation.r5.AbstractSimEventList
Overridden in order (ensure) the setting the de-conflict value on the event added.
addListener(SimEventListResetListener) - Method in class org.javades.jsimulation.r5.AbstractSimEventList
 
addListener(SimEventListResetListener) - Method in interface org.javades.jsimulation.r5.SimEventList
Adds a listener to this event list.

C

cancel() - Method in class org.javades.jsimulation.r5.AbstractSimTimer
Cancels a pending timer.
cancelAction(double) - Method in class org.javades.jsimulation.r5.AbstractSimTimer
Method that is invoked upon canceling the timer.
checkUpdate(double) - Method in class org.javades.jsimulation.r5.AbstractSimEventList
Checks the progress of time and notifies listeners when an update has taken place.
checkUpdate(E) - Method in class org.javades.jsimulation.r5.AbstractSimEventList
Checks the progress of time when processing a given event and notifies listeners when an update has taken place.
compare(E, E) - Method in class org.javades.jsimulation.r5.DefaultSimEventComparator
 

D

DefaultSimEvent<T> - Class in org.javades.jsimulation.r5
An implementation of a SimEvent.
DefaultSimEvent(String, double, T, SimEventAction) - Constructor for class org.javades.jsimulation.r5.DefaultSimEvent
Creates a new DefaultSimEvent with given parameters.
DefaultSimEvent(double, T, SimEventAction) - Constructor for class org.javades.jsimulation.r5.DefaultSimEvent
Creates a new DefaultSimEvent with given parameters and name \"No Name\" (main constructor).
DefaultSimEvent(double, SimEventAction) - Constructor for class org.javades.jsimulation.r5.DefaultSimEvent
Creates a new DefaultSimEvent named \"No Name\", given time and action and null object.
DefaultSimEvent(double) - Constructor for class org.javades.jsimulation.r5.DefaultSimEvent
Creates a new DefaultSimEvent named \"No Name\", given time and null object and action.
DefaultSimEvent() - Constructor for class org.javades.jsimulation.r5.DefaultSimEvent
Creates a new DefaultSimEvent named \"No Name\", time at negative infinity and null object and action.
DefaultSimEventComparator<E extends SimEvent> - Class in org.javades.jsimulation.r5
A default Comparator on SimEvents.
DefaultSimEventComparator() - Constructor for class org.javades.jsimulation.r5.DefaultSimEventComparator
 
DefaultSimEventFactory - Class in org.javades.jsimulation.r5
A default SimEventFactory for SimEvents
DefaultSimEventFactory() - Constructor for class org.javades.jsimulation.r5.DefaultSimEventFactory
 
DefaultSimEventList<E extends SimEvent> - Class in org.javades.jsimulation.r5
A default implementation of SimEventList.
DefaultSimEventList(double, Class<E>) - Constructor for class org.javades.jsimulation.r5.DefaultSimEventList
Creates a new DefaultSimEventList (main constructor).
DefaultSimEventList(double) - Constructor for class org.javades.jsimulation.r5.DefaultSimEventList
DefaultSimEventList(Class<E>) - Constructor for class org.javades.jsimulation.r5.DefaultSimEventList
Creates a new DefaultSimEventList.
DefaultSimEventList() - Constructor for class org.javades.jsimulation.r5.DefaultSimEventList
DefaultSimEventList_IOEL<E extends SimEvent> - Class in org.javades.jsimulation.r5
The IOEL (Insertion-Order Event List) variant of AbstractSimEventList.
DefaultSimEventList_IOEL(double, Class<E>) - Constructor for class org.javades.jsimulation.r5.DefaultSimEventList_IOEL
Creates a new DefaultSimEventList_IOEL (main constructor).
DefaultSimEventList_IOEL(double) - Constructor for class org.javades.jsimulation.r5.DefaultSimEventList_IOEL
DefaultSimEventList_IOEL(Class<E>) - Constructor for class org.javades.jsimulation.r5.DefaultSimEventList_IOEL
DefaultSimEventList_IOEL() - Constructor for class org.javades.jsimulation.r5.DefaultSimEventList_IOEL
DefaultSimEventList_ROEL<E extends SimEvent> - Class in org.javades.jsimulation.r5
The ROEL (Random-Order Event List) variant of AbstractSimEventList.
DefaultSimEventList_ROEL(double, Class<E>) - Constructor for class org.javades.jsimulation.r5.DefaultSimEventList_ROEL
Creates a new DefaultSimEventList_ROEL (main constructor).
DefaultSimEventList_ROEL(double) - Constructor for class org.javades.jsimulation.r5.DefaultSimEventList_ROEL
DefaultSimEventList_ROEL(Class<E>) - Constructor for class org.javades.jsimulation.r5.DefaultSimEventList_ROEL
DefaultSimEventList_ROEL() - Constructor for class org.javades.jsimulation.r5.DefaultSimEventList_ROEL

E

eventListChangedNotification() - Method in class org.javades.jsimulation.r5.swing.JSimEventList
Notification that the internally held SimEventList has changed, and needs to be redrawn in this JComponent.
expireAction(double) - Method in class org.javades.jsimulation.r5.AbstractSimTimer
Abstract method that is invoked upon expiration of the timer.

F

fireEmpty() - Method in class org.javades.jsimulation.r5.AbstractSimEventList
Fires an empty-event-list notification to registered listeners.
fireNextEvent() - Method in class org.javades.jsimulation.r5.AbstractSimEventList
Fires a next-event notification to registered listeners.
fireReset() - Method in class org.javades.jsimulation.r5.AbstractSimEventList
Fires a reset notification to registered listeners.
fireUpdate() - Method in class org.javades.jsimulation.r5.AbstractSimEventList
Fires an update notification to registered listeners.

G

getDefaultResetTime() - Method in class org.javades.jsimulation.r5.AbstractSimEventList
 
getDefaultResetTime() - Method in interface org.javades.jsimulation.r5.SimEventList
Gets the default reset time, the time on the event list after it is reset (without explicit time argument).
getEventAction() - Method in class org.javades.jsimulation.r5.DefaultSimEvent
 
getEventAction() - Method in interface org.javades.jsimulation.r5.SimEvent
Returns the SimEventAction associated with this event.
getName() - Method in class org.javades.jsimulation.r5.AbstractSimTimer
Returns the name of this timer.
getName() - Method in class org.javades.jsimulation.r5.DefaultSimEvent
 
getName() - Method in interface org.javades.jsimulation.r5.SimEvent
Gets the name of this SimEvent.
getObject() - Method in class org.javades.jsimulation.r5.DefaultSimEvent
 
getObject() - Method in interface org.javades.jsimulation.r5.SimEvent
Returns the user object associated with this event.
getSimEventClass() - Method in class org.javades.jsimulation.r5.AbstractSimEventList
 
getSimEventClass() - Method in interface org.javades.jsimulation.r5.SimEventList
Returns the Class of allowable SimEvents in this event list.
getSimEventFactory() - Method in class org.javades.jsimulation.r5.AbstractSimEventList
 
getSimEventFactory() - Method in interface org.javades.jsimulation.r5.SimEventList
Gets the factory for SimEvents created by this SimEventList.
getSimEventListDeconflictValue() - Method in class org.javades.jsimulation.r5.DefaultSimEvent
 
getSimEventListDeconflictValue() - Method in interface org.javades.jsimulation.r5.SimEvent
Returns the value used for "de-conflicting" simultaneous events on a SimEventList.
getTime() - Method in class org.javades.jsimulation.r5.AbstractSimEventList
 
getTime() - Method in class org.javades.jsimulation.r5.DefaultSimEvent
 
getTime() - Method in interface org.javades.jsimulation.r5.SimEvent
Returns the time at which this SimEvent is (to be) scheduled on a SimEventList.
getTime() - Method in interface org.javades.jsimulation.r5.SimEventList
Returns the current time during processing of the event list.
getToStringFunction() - Method in class org.javades.jsimulation.r5.AbstractSimEventList
Gets the function that generates the string for AbstractSimEventList.toString().

J

JSimEventList - Class in org.javades.jsimulation.r5.swing
A Swing JComponent showing the contents of a SimEventList.
JSimEventList(SimEventList) - Constructor for class org.javades.jsimulation.r5.swing.JSimEventList
 

M

Main - Class in org.javades.jsimulation.r5.example
Example code for jsimulation.
main(String[]) - Static method in class org.javades.jsimulation.r5.example.Main
Main method.
Main - Class in org.javades.jsimulation.r5.swing.example
Example program showing the use of JSimEventList and basic interactions with a SimEventList.
main(String[]) - Static method in class org.javades.jsimulation.r5.swing.example.Main
Starts the main program.

N

newInstance(String, double, SimEventAction) - Method in class org.javades.jsimulation.r5.DefaultSimEventFactory
Returns a new DefaultSimEvent.
newInstance(String, double, SimEventAction) - Method in interface org.javades.jsimulation.r5.SimEventFactory
Creates a new SimEvent instance.
notifyEventListEmpty(SimEventList, double) - Method in interface org.javades.jsimulation.r5.SimEventListListener
Notification of the event list becoming empty (end of simulation).
notifyEventListEmpty(SimEventList, double) - Method in class org.javades.jsimulation.r5.swing.JSimEventList
 
notifyEventListReset(SimEventList) - Method in interface org.javades.jsimulation.r5.SimEventListResetListener
Notification of the event list being reset.
notifyEventListReset(SimEventList) - Method in class org.javades.jsimulation.r5.swing.JSimEventList
 
notifyEventListUpdate(SimEventList, double) - Method in interface org.javades.jsimulation.r5.SimEventListListener
Notification of an update in the event list while processing it.
notifyEventListUpdate(SimEventList, double) - Method in class org.javades.jsimulation.r5.swing.JSimEventList
 
notifyNextEvent(SimEventList, double) - Method in interface org.javades.jsimulation.r5.SimEventListListener.Fine
Notification that the event list's SimEventList.run() method (or another processor) is about to remove the next event from the list.
notifyNextEvent(SimEventList, double) - Method in class org.javades.jsimulation.r5.swing.JSimEventList
 

O

org.javades.jsimulation.r5 - package org.javades.jsimulation.r5
A small package for discrete-event simulation.
org.javades.jsimulation.r5.example - package org.javades.jsimulation.r5.example
Examples for the jsimulation package.
org.javades.jsimulation.r5.swing - package org.javades.jsimulation.r5.swing
Swing components for the jsimulation package.
org.javades.jsimulation.r5.swing.example - package org.javades.jsimulation.r5.swing.example
Examples for jsimulation Swing components.

P

print() - Method in interface org.javades.jsimulation.r5.SimEventList
Prints a representation of this event list on System.out.
print(PrintStream) - Method in interface org.javades.jsimulation.r5.SimEventList
Prints a representation of this event list on given stream.

R

removeListener(SimEventListResetListener) - Method in class org.javades.jsimulation.r5.AbstractSimEventList
 
removeListener(SimEventListResetListener) - Method in interface org.javades.jsimulation.r5.SimEventList
Removes a listener from this event list.
reschedule(double, E) - Method in interface org.javades.jsimulation.r5.SimEventList
Reschedules an event on this list, at given time (overriding the time set on the event itself).
reset(double) - Method in class org.javades.jsimulation.r5.AbstractSimEventList
 
reset(double) - Method in interface org.javades.jsimulation.r5.SimEventList
Resets the event list to a specific time.
reset() - Method in interface org.javades.jsimulation.r5.SimEventList
Resets the event list.
run() - Method in class org.javades.jsimulation.r5.AbstractSimEventList
Overridden to make the default method final.
run() - Method in interface org.javades.jsimulation.r5.SimEventList
Runs the event list until it is empty (or until interrupted).
runSingleStep() - Method in class org.javades.jsimulation.r5.AbstractSimEventList
Runs a single (the first) event from the event list ("single-stepping").
runSingleStep() - Method in interface org.javades.jsimulation.r5.SimEventList
Runs a single (the first) event from the event list ("single-stepping").
runUntil(double, boolean, boolean) - Method in class org.javades.jsimulation.r5.AbstractSimEventList
 
runUntil(double, boolean, boolean) - Method in interface org.javades.jsimulation.r5.SimEventList
Runs the event list until it is empty, interrupted, or until a specific point in time has been reached.

S

schedule(double, SimEventList) - Method in class org.javades.jsimulation.r5.AbstractSimTimer
Schedules this timer on an event list.
schedule(E) - Method in interface org.javades.jsimulation.r5.SimEventList
Schedules an event on this list, taking the schedule time from the event itself.
schedule(double, E) - Method in interface org.javades.jsimulation.r5.SimEventList
Schedules an event on this list, at given time (overriding the time set on the event itself).
schedule(double, SimEventAction, String) - Method in interface org.javades.jsimulation.r5.SimEventList
Schedules an action at given time.
schedule(double, SimEventAction) - Method in interface org.javades.jsimulation.r5.SimEventList
Schedules an action at given time.
scheduleAction(double) - Method in class org.javades.jsimulation.r5.AbstractSimTimer
Method that is invoked upon scheduling the timer.
scheduleNow(E) - Method in interface org.javades.jsimulation.r5.SimEventList
Schedules an event on this list at current time (overriding the time set on the event itself).
scheduleNow(SimEventAction, String) - Method in interface org.javades.jsimulation.r5.SimEventList
Schedules an action now.
scheduleNow(SimEventAction) - Method in interface org.javades.jsimulation.r5.SimEventList
Schedules an action now.
setDeconflicterSeed_ROEL(long) - Method in class org.javades.jsimulation.r5.DefaultSimEventList_ROEL
Sets the seed for the pseudo-random sequence for de-conflicting event-list collisions.
setDefaultResetTime(double) - Method in class org.javades.jsimulation.r5.AbstractSimEventList
 
setDefaultResetTime(double) - Method in interface org.javades.jsimulation.r5.SimEventList
Sets the default reset time, the time on the event list after it is reset (without explicit time argument).
setEventAction(SimEventAction) - Method in class org.javades.jsimulation.r5.DefaultSimEvent
 
setEventAction(SimEventAction) - Method in interface org.javades.jsimulation.r5.SimEvent
Sets the SimEventAction associated with this event.
setName(String) - Method in class org.javades.jsimulation.r5.DefaultSimEvent
 
setName(String) - Method in interface org.javades.jsimulation.r5.SimEvent
Sets the name of this SimEvent.
setObject(T) - Method in class org.javades.jsimulation.r5.DefaultSimEvent
 
setObject(T) - Method in interface org.javades.jsimulation.r5.SimEvent
Sets the user object associated with this event.
setSimEventFactory(SimEventFactory<? extends E>) - Method in class org.javades.jsimulation.r5.AbstractSimEventList
 
setSimEventFactory(SimEventFactory<? extends E>) - Method in interface org.javades.jsimulation.r5.SimEventList
Sets the factory for SimEvents created by this SimEventList.
setSimEventListDeconflictValue(long) - Method in class org.javades.jsimulation.r5.DefaultSimEvent
 
setSimEventListDeconflictValue(long) - Method in interface org.javades.jsimulation.r5.SimEvent
Sets the value used for "de-conflicting" simultaneous events on a SimEventList.
setTime(double) - Method in class org.javades.jsimulation.r5.DefaultSimEvent
 
setTime(double) - Method in interface org.javades.jsimulation.r5.SimEvent
Sets the time at which this SimEvent is to be scheduled on a SimEventList.
setToStringFunction(Function<SimEventList, String>) - Method in class org.javades.jsimulation.r5.AbstractSimEventList
Sets the function that generates the string for AbstractSimEventList.toString().
SimEvent<T> - Interface in org.javades.jsimulation.r5
A (timed) event to be used in a SimEventList.
SimEventAction<T> - Interface in org.javades.jsimulation.r5
An action provider for SimEvents.
SimEventFactory<E extends SimEvent> - Interface in org.javades.jsimulation.r5
A factory for SimEvents.
SimEventList<E extends SimEvent> - Interface in org.javades.jsimulation.r5
An event list for SimEvents.
SimEventListListener - Interface in org.javades.jsimulation.r5
An object capable of listening to important changes in a SimEventList.
SimEventListListener.Fine - Interface in org.javades.jsimulation.r5
A listener that also wants to be notified of individual events processing by the event list.
SimEventListResetListener - Interface in org.javades.jsimulation.r5
An object capable of listening to a reset of a SimEventList.

T

toString() - Method in class org.javades.jsimulation.r5.AbstractSimEventList
Returns a string representation of this event list (final, but customizable).
toString() - Method in class org.javades.jsimulation.r5.DefaultSimEvent
Returns the registered name if non-null, else the super method return value.

U

USE_ARRAY_OPTIMIZATION - Static variable in class org.javades.jsimulation.r5.AbstractSimEventList
When true, this class and possibly some sub-classes maintain various array copies of collections often iterated over, like listeners, and uses array iteration instead of Collection iteration.
A C D E F G J M N O P R S T U 
Skip navigation links

Copyright © 2018. All rights reserved.