Package com.anylogic.engine.markup
- All Known Implementing Classes:
QueueArea
,QueuePath
,QueueSerpentine
public interface QueueUnit
Interface for queues which are used in Service space markup elements
- Author:
- AnyLogic North America, LLC https://anylogic.com
int |
capacity() |
Returns the capacity of the queue
|
java.lang.String |
getName() |
|
java.util.List<Agent> |
getPeds() |
Returns the collection of agents in this queue.
The first one is the queue head, the last one is the queue tail |
boolean |
isCapacityLimited() |
Returns
true if this queue has limited capacity |
int |
size() |
Returns the current size of the queue
|
Modifier and Type | Method | Description |
---|
int size()
Returns the current size of the queue
- Returns:
- the current size of the queue
java.util.List<Agent> getPeds()
Returns the collection of agents in this queue.
The first one is the queue head, the last one is the queue tail
The first one is the queue head, the last one is the queue tail
- Returns:
- the collection of agents in this queue
boolean isCapacityLimited()
Returns
true
if this queue has limited capacity- Returns:
true
if this queue has limited capacity,false
otherwise- See Also:
capacity()
int capacity()
Returns the capacity of the queue
- Returns:
- the capacity of the queue
- See Also:
isCapacityLimited()
java.lang.String getName()
-
How can we improve this article?
-