Was this helpful?
StringHashTable Methods
Method
Return Value
Description
Inherited From
Clear()
integer
Removes all objects from the hash table
HashTable
Contains(key = varchar(2000) |
 object = Object | key = varchar(2000),
 object = Object)
integer
Checks the existence of an object within the hash table
HashTable
Duplicate()
Object
Makes a duplicate of the object, placing a reference to the new object in a reference variable
Object
Find(key = varchar(2000))
Object
Finds the first object with the given key in the hash table
HashTable
FindAll(results = ArrayObject
 [, key = varchar(2000)]
 [, noduplicates = integer])
integer
Inserts all objects (with the given key, if specified) from the hash table into the results array
HashTable
GetAttribute
(
attributename = byref(variable)
{,attributename = byref(variable)})
integer
Gets the values of any number of attributes for the object
Object
InsertObject(
 key =
varchar(2000),
 
object = Object)
integer
Inserts the object with the given key into the hash table
HashTable
IsA
(class =
classname)
integer
Returns TRUE if the object is of the same class as, or one of the subclasses of, the class specified by classname
Object
RemoveObject(
 key =
varchar(2000)
 [, allobjects = integer]
 [, removedcount =
byref(
integer_variable)])
integer
Removes the object (or all objects) with the specified key from the hash table
HashTable
SetAttribute
 (
attributename = value
{,attributename = value})
integer
Sets any number of attributes for the object
Object
Setup([size = integer]
 [, uniquekey = integer]
 [, autoresizethreshold = integer]
 [, objectclass = Class
 [, allowsubclassobjects = integer]]
 [, comparekeyfunction = varchar]
 [, hashkeyfunction = varchar]
 [,ignorecase = integer])
integer
Sets up the IntegerHashTable with the number of buckets specified in the size parameter
HashTable
 
Last modified date: 12/20/2023