struct Oak::Tree(T)
- Oak::Tree(T)
- Struct
- Value
- Object
Defined in:
oak/tree.crConstructors
Instance Method Summary
-
#add(path, payload)
Add a path to the tree.
-
#find(path)
Find the first matching result in the tree.
- #initialize
-
#search(path)
Search the tree and return all results as an array.
-
#search(path, &block : Result(T) -> _)
Search the tree and yield each result to the block.
-
#visualize
Visualize the radix tree structure.
Constructor Detail
Instance Method Detail
Search the tree and yield each result to the block.