radix_tree 1.0.0 copy "radix_tree: ^1.0.0" to clipboard
radix_tree: ^1.0.0 copied to clipboard

outdated

Dart implementation of the Radix Tree data structure.

example/example.dart

import 'package:radix_tree/radix_tree.dart';

void main(List<String> args) {
  var tree = RadixTree<int>();
  tree['paku'] = 1;
  tree['piku'] = 2;
  tree['pako'] = 3;
  print(tree.keys);
  print(tree.getValuesWithPrefix('p')); // [1, 3, 2]
  print(tree.getValuesWithPrefix('pa')); // [1, 3]
}
4
likes
0
pub points
36%
popularity

Publisher

unverified uploader

Dart implementation of the Radix Tree data structure.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

meta

More

Packages that depend on radix_tree