Releases: sandersyao/PHP-Data-Structure
Releases · sandersyao/PHP-Data-Structure
B-Tree data structure
The classes of B-Tree data structure is released, support command:
1.Insert: add a string key and integer value to index file;
2.Select: get integer value by a string key from index file;
3.Delete: remove string key from index file;
4.Compare: compare key in the index data and get iterator instance from it.
B-树数据结构的类型发布了,支持命令:
1.Insert: 新增一个字符串关键词和整型值到索引文件中;
2.Select: 根据一个字符串关键词获取其对应的整型值;
3.Delete: 从索引文件中删除一个关健词;
4.Compare: 在索引数据中比较大小并返回符合规则的迭代器实例。