Empty determines the Red-Black tree is empty
()
| 65 | |
| 66 | // Empty determines the Red-Black tree is empty |
| 67 | func (t *RB[T]) Empty() bool { |
| 68 | return t.Root == t._NIL |
| 69 | } |
| 70 | |
| 71 | // Push a chain of Node's into the Red-Black Tree |
| 72 | func (t *RB[T]) Push(keys ...T) { |
nothing calls this directly
no outgoing calls
no test coverage detected