Working with Lists
Go Up to RTL
The RTL includes many classes that represent lists or collections of items. The lists vary depending on the types of items they contain, the operations they support, and whether they are persistent.
The following table lists various list classes, and indicates the types of items they contain:
Object | Maintains |
---|---|
A list of pointers | |
A thread-safe list of pointers | |
A hashed list of pointers | |
A hashed list of object instances | |
A memory-managed list of object instances | |
A memory-managed list of components (that is, instances of classes descended from TComponent) | |
A list of class references | |
A list of interface pointers. | |
A first-in first-out list of pointers | |
A last-in first-out list of pointers | |
A first-in first-out list of objects | |
A last-in first-out list of objects | |
Base class for many specialized classes of typed items. | |
A list of strings | |
A list of strings with the form Name=Value, hashed for performance. | |
Class that contains static methods for searching and sorting a generic array. | |
Collection of key-value pairs. | |
TEnumerable is an abstract class inherited by all enumerable containers. | |
TEnumerator is an abstract class implemented by all enumerator classes. | |
Ordered list. | |
Collection of key and/or value objects. | |
Ordered list of objects. | |
Queue of objects. | |
Last in, first out stack of objects. | |
Queue implemented over array, using wrapping. | |
Last in, first out stack. | |
Represents a generic threaded queue. | |
Represents a generic thread-safe list. |