CoreClasses REALbasic Plugin

ObjectDictionary Class

ObjectDictionary is a high speed dictionary class, that uses hash tables to maximize performance.

Object
   ObjectDictionary

class ObjectDictionary

Constructors

ObjectDictionaryThe default constructor for the ObjectDictionary.
ObjectDictionaryA Constructor to construct a ObjectDictionary with non distinct keys.

Properties

LastErrorUse this property to get the Last error code generated by the dictionary.

Methods

AddUse this method to add a object to the dictionary using object as a key.
AddUse this method to add a object to the dictionary using string as a key.
ClearUse this method to clear all items from the dictionary.
ClearErrorUse this method to clear the last error.
CountUse this function to get the number of items in the dictionary.
ExistsUse this function to check for existence of a object key in the dictionary.
ExistsUse this function to check for existence of a string key in the dictionary.
GetKeySetUse this method to get a set of elements with the same object key when the dictionary is in multikey mode.
GetKeySetUse this method to get a set of elements with the same string key when the dictionary is in multikey mode.
ItemUse this setter/getter function to get or set element by a string key.
ItemUse this setter/getter function to get or set element by a object key.
RemoveUse this method to add remove object from the dictionary by a given string key.
RemoveUse this method to add remove object from the dictionary by a given object key.

Supported Platforms:

  • PPC - MacOS 9
  • Carbon - MacOS 9 and MacOS X (PEF)
  • MacOS X PPC - (Mach-O)
  • MacOS X Universal Binary (Mach-O)
  • Win32 - Windows
  • Linux x86