Adds the input Value string to the end of the queue and returns the new node created for the item. The Item property of the node will be nil.
To retrieve items added with Push, call GLists.TQStringQueue.Pop, GLists.TQStringQueue.PopString , or GLists.TQStringQueue.PopItem(TObject) or GLists.TQStringQueue.Top and GLists.TQStringQueue.TopString .
To push only the object on the queue, use the GLists.TQStringQueue.Push(TObject) method. To push both a string and an object on the queue, use the GLists.TQStringQueue.PushItem(String,TObject) method.
Namespace: GLists
Delphi |
public |
Parameters
Value
Type: String
Type: Integer