Empty determines the Binary-Search tree is empty
()
| 52 | |
| 53 | // Empty determines the Binary-Search tree is empty |
| 54 | func (t *BinarySearch[T]) Empty() bool { |
| 55 | return t.Root == t._NIL |
| 56 | } |
| 57 | |
| 58 | // Push a chain of Node's into the BinarySearch |
| 59 | func (t *BinarySearch[T]) Push(keys ...T) { |
nothing calls this directly
no outgoing calls
no test coverage detected