HashTableEntry Class Added
The new HashTableEntry class enables the persistence and restoration of HashTable subclass objects within a component or application—for example, within TaggedValues. It works in conjunction with
HashTable class methods GetEntries and LoadEntries (see page
HashTable Class Gets New Attributes and Methods).
The HashTableEntry class helps to ensure that the sequence of entries in a cloned object (Duplicate method) matches that of the original one so that the Find method returns the same (first) object if it contains multiple objects having the same key.
The HashTable class has no methods, but has the following attributes:
Entries
Data Type: array of HashTableEntry
4GL Access: R
The Entries attribute contains an array representation of the entries (key and object mappings) of a HashTable.
HashValue
Data Type: integer
4GL Access: R
Key
Data Type: varchar(2000)
4GL Access: RW
The Key attribute is the varchar representation of the entry's key.
Object
Data Type: Object
4GL Access: RW
The Object attribute is the reference to the entry's object.
For more information about the HashTableEntry class, see the Language Reference Guide.
Last modified date: 06/25/2024