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