Class: Set

Properties  Events  Methods    Index of Classes

Assembles and maintains a set of unique values

Hierarchy

cObject
---Array
------Set
---------Broadcaster

Library: Common (Windows and Web Application) Class Library

Package: set.pkg

Description

For most purposes, developers should use the much more efficient native arrays and structs built into the DataFlex language.



Assembles and maintains a set of unique values, with operations to add, remove, and find elements.

Usage

Use Set.Pkg
 
Object oUniqueValues is a Set
End_Object

or

Use Set.Pkg
 
Get Create (RefClass(Set)) to hoSet
// Do something with the set
Send Destroy of hoSet


Note

This class treats its elements as a collection of unique, ordered strings. The values placed into a set object may be searched, removed, and added, but not inserted. This class is used by the SelectionList class to maintain selected item identifiers.

This class's properties are unchanged from those of its superclass.