|
TFreeList
|
Defines a TList replacement which will free its elements.
Note
|
This class is deprecated. Use a TObjectList instead.
|
|
|
TGCustomLinkedList
|
Provides a base linked list class from which to derive all other types of linked lists (doubly linked lists, stacks, and queues).
All structures will have the advantage of being persistent, easily extendable, and assignment compatible. However, the TGCustomLinkedList is slower than a TList because it creates objects for every node.
Note
|
This class uses TPersistents instead of records for the nodes because of expandability, readability, and power. The performance hit is small (<3%).
|
|
|
TGCustomLinkedListEnumerator
|
Defines an enumerator class for iterating over a linked list.
|
|
TGDoublyLinkedList
|
Defines a doubly linked list (Previous link as well as Next).
The TGDoublyLinkedList class extends the TGLinkedList class to make it doubly linked.
|
|
TGLinkedList
|
Defines a linked list class where every node in the list has an associated Item object.
|
|
TGPriorityQueue
|
Defines a queue or FIFO (First In, First Out) list of objects sorted by priority.
Tip
|
This implementation is inefficient, use TPriorityQueue from DataStructures.pas instead
|
|
|
TGPriorityStringQueue
|
Defines a queue or FIFO (First In, First Out) list of strings and objects sorted by priority.
Tip
|
This implementation is inefficient, use TPriorityQueue from DataStructures.pas instead
|
|
|
TGQueue
|
TGQueue maintains a first-in first-out array, or queue, of objects. Use a TGQueue object to store and maintain a first-in first-out list.
To use the class properly as a queue, use the GLists.TGQueue.Push(TObject) and GLists.TGQueue.Pop methods, not Add or Items.
Note
|
The TGQueue manages the nodes of the list and will ensure nodes get freed.
|
|
|
TGStack
|
Maintains a last-in first-out (LIFO) array, or stack, of objects.
Use a TGStack object to store and maintain a last-in first-out list. The TGStack object descends from GLists.TGQueue class.
Note
|
The TGStack manages the nodes of the list and will ensure nodes get freed.
|
|
|
TGStringQueue
|
TGStringQueue maintains a first-in first-out array, or queue, of objects and associated strings. Use a TGStringQueue object to store and maintain a first-in first-out list.
The TGStringQueue allows you to push onto the queue only a string, only an object, or both. To use the class properly as a queue, use the Push, GLists.TGStringQueue.PushString(String), GLists.TGStringQueue.PushItem(String,TObject) and GLists.TGStringQueue.PopItem(TObject) methods, not Add or Items.
Note
|
The TGStringQueue manages the nodes of the list and will ensure nodes get freed.
|
Note
|
The TGStringQueue is assignment compatible with a TStrings object.
|
|
|
TGStringStack
|
Maintains a last-in first-out (LIFO) array, or stack, of strings and objects.
Use a TGStringStack object to store and maintain a last-in first-out list. The TGStringStack object descends from GLists.TGStringQueue class.
Note
|
The TGStringStack manages the nodes of the list and will ensure nodes get freed.
|
|
|
TQOrderedList
|
Defines a base class for an ordered list based on TList.
|
|
TQQueue
|
TQQueue maintains a first-in first-out array, or queue, of items. Use a TQQueue object to store and maintain a first-in first-out list.
To use the class properly as a queue, use the GLists.TQQueue.Push(TRSPointerType) and GLists.TQQueue.Pop methods, not Add or Items.
|
|
TQStack
|
Maintains a last-in first-out (LIFO) array, or stack, of items.
Use a TQStack object to store and maintain a last-in first-out list. The TQStack object descends from GLists.TQQueue class.
|
|
TQStringQueue
|
TQStringQueue maintains a first-in first-out array, or queue, of string and object items. Use a TQStringQueue object to store and maintain a first-in first-out list.
To use the class properly as a queue, use the GLists.TQStringQueue.Push(TObject) and GLists.TQStringQueue.Pop methods, not Add or AddObject.
|
|
TQStringStack
|
Maintains a last-in first-out (LIFO) array, or stack, of strings and objects.
Use a TQStringStack object to store and maintain a last-in first-out list. The TQStringStack object descends from GLists.TQStringQueue class.
Note
|
The TQStringStack manages the nodes of the list and will ensure nodes get freed.
|
|
|
TSQDoubleNode
|
Defines the Nodes for a doubly linked list (i.e., it points to the previous node as well as the next node)
|
|
TSQNode
|
Defines the Nodes for a linked list
|
|
TSQPriorityNode
|
Defines the Nodes for a queue which are sorted according to a GLists.TSQPriorityNode.Priority .
Note
|
A lower value for priority is a higher priority.
|
|
|
TSQPriorityStringNode
|
Defines the Nodes for a queue which are sorted according to a GLists.TSQPriorityStringNode.Priority and each node has an associated string.
Note
|
A lower value for priority is a higher priority.
|
|
|
TSQStringNode
|
Defines the Nodes for a linked list with an associated string for each node
|