Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/realmurgyl/btree-dart
BTree Implementation on Dart
https://github.com/realmurgyl/btree-dart
btree btreedart dart dartbtree structure
Last synced: 3 days ago
JSON representation
BTree Implementation on Dart
- Host: GitHub
- URL: https://github.com/realmurgyl/btree-dart
- Owner: realmurgyl
- License: gpl-3.0
- Created: 2023-12-01T22:34:27.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2023-12-03T13:32:41.000Z (12 months ago)
- Last Synced: 2023-12-03T14:25:24.189Z (12 months ago)
- Topics: btree, btreedart, dart, dartbtree, structure
- Language: Dart
- Homepage: https://pub.dev/packages/btreedart
- Size: 30.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
BTree Implementation on Dart.
- Free software: _GPL v3_.0
Install
```bash
$ dart pub add btree
```Import
```dart
import 'package:btreedart/btreedart.dart';
```Note
This project has not been tested in any way. Use at your own risk.Documentation
This data structure is intended to be used as a key-value.**Constructor**
```dart
BTree bTree = BTree(degree: 1000); // degree - How many keys can a node contain
```**Insert**
```dart
btree.insert("key1", "value1");
```**Update**
```dart
btree.update("key1", "value0");
```**Search**
```dart
btree.search("key1"); // return "value0"
```**Delete**
```dart
btree.delete("key1"); // Deleting key key1. The next search will result in null
```