Unit 'Objects' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TUnSortedStrCollection

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Unsorted string collection.

Declaration

Source position: objects.pp line 557

type TUnSortedStrCollection = object(TStringCollection)

  procedure Insert(); virtual;

  

Insert a new string in the collection.

end;

Inheritance

TUnSortedStrCollection

  

Unsorted string collection.

|

TStringCollection

  

Collection of pascal strings.

|

TSortedCollection

  

Abstract sorted collection.

|

TCollection

  

Manage a collection of pointers of objects.

|

TObject

  

Basis of all objects.

|

TObject

  

Base class of all classes.

Description

The TUnSortedStrCollection object manages an unsorted list of strings. To this end, it overrides the TSortedCollection.Insert method to add strings at the end of the collection, rather than in the alphabetically correct position.

Take care, the Search and IndexOf methods will not work on an unsorted string collection.


Documentation generated on: Dec 26 2024