Advertisement
4_2005-2006 Data Structures #159353

HIve - Alternate for Collection and Dictionary

Hive Better, Faster and richer than Collection and Dictionary It supports non string key. You can use Date or Number as a key. Very useful for storing numbered items or calendar information where the key is a date. It has Auto key generation feature. Items can be added without any key for indexed based access. Auto Key is a GUID which is always unique. Much faster than VB’s Collection even faster then Dictionary object. It supports multiple items with same key. It also provides FindFirst, FindNext methods like ADO Recordset for duplicate key. It supports both case sensitive and non case sensitive key matching support at run-time. Its Clear method immediately releases memory very efficiently for both object and variant data type. It supports “Exist” method to check whether a key exist or not. It supports value modification which is not present in collection. Any value for a key can be reassigned at any time. It supports Key method to get a key from index. It can replace VB Collection’s code without any change. It can record errors raised from invalid add, remove. It provides an error collection like ADO’s Error collection. Error raise can be turned off anytime. It uses balanced binary tree (Red Black Binary Tree) for better performance than standard Binary Tree based data structures.

AI

สรุปโดย AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

ซอร์สโค้ด
original-source
Upload
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine