AnyLogic AnyLogic
Expand
Font size
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

Method Summary

All Methods Instance Methods Abstract Methods 
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

Method Detail

size

int size()
Returns the current size of the queue
Returns:
the current size of the queue

getPeds

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
Returns:
the collection of agents in this queue

isCapacityLimited

boolean isCapacityLimited()
Returns true if this queue has limited capacity
Returns:
true if this queue has limited capacity, false otherwise
See Also:
capacity()

capacity

int capacity()
Returns the capacity of the queue
Returns:
the capacity of the queue
See Also:
isCapacityLimited()

getName

java.lang.String getName()
How can we improve this article?