namespace \webfiori\collections
class Queue
Class Methods Summary
Class Methods Details
Parameters:
- int $max The maximum number of elements the queue can hold. if a negative number is given or 0, the queue will have unlimited number of elements. Also if the given value is not an integer, the maximum will be set to unlimited. Default is 0.
Parameters:
- mixed $el The element that will be added. If it is null, the method will not add it.
Parameters:
- mixed $el The element that will be added. If it is null, the method will not add it.