|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
JSimHLAHead represents queue, which can be local or remote. Since HLA support was added to J-Sim, every queue in simulation can be either local or remote. JSimHLAHead provides methods with the same functionality for local and remote queues.
JSimHead| Method Summary | |
long |
cardinal()
Returns the number of links in the queue. |
boolean |
empty()
Tests whether the queue is empty. |
JSimLink |
first()
Returns the first link in the queue. |
double |
getLw()
Returns the mean length of the queue. |
double |
getTw()
Returns the mean waiting time spent in the queue by all links already removed from the queue. |
double |
getTwForAllLinks()
Returns the mean waiting time spent in the queue by all links ever inserted to the queue. |
JSimLink |
last()
Returns the last link in the queue. |
| Method Detail |
public boolean empty()
public long cardinal()
public JSimLink first()
public JSimLink last()
public double getLw()
public double getTw()
public double getTwForAllLinks()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||