visitRootPrefixed method

void visitRootPrefixed(
  1. RadixTreeKVVisitor<T?> visitor,
  2. String prefix
)

Traverses this radix tree using the given visitor.

Only values with the given prefix will be visited. Note that the tree will be traversed in lexicographical order.

Implementation

void visitRootPrefixed(RadixTreeKVVisitor<T?> visitor, String prefix) {
  visit(root, prefix, '', visitor);
}