TObjectQueue.Push¶
Push an object on the queue.
Declaration¶
Source position: contnrs.pp line 184
public
function TObjectQueue.Push(AObject: TObject) : TObject;
Description¶
Push pushes another object on the queue. It overrides the Push method as implemented in TQueue so it accepts only objects as arguments.
Errors¶
If not enough memory is available to expand the queue, an exception may be raised.
See also¶
| Name | Description |
|---|---|
| TObjectQueue.Pop | Pop the first element off the queue. |
| TObjectQueue.Peek | Look at the first object in the queue. |