Get a Node from the Red-Black Tree
(key T)
| 83 | |
| 84 | // Get a Node from the Red-Black Tree |
| 85 | func (t *RB[T]) Get(key T) (Node[T], bool) { |
| 86 | return searchTreeHelper[T](t.Root, t._NIL, key) |
| 87 | } |
| 88 | |
| 89 | // Has Determines the tree has the node of Key |
| 90 | func (t *RB[T]) Has(key T) bool { |
nothing calls this directly
no outgoing calls
no test coverage detected