minKey returns the lowest key stored in this node's tree.
()
| 1786 | |
| 1787 | // minKey returns the lowest key stored in this node's tree. |
| 1788 | func (n *sortedMapBranchNode[K, V]) minKey() K { |
| 1789 | return n.elems[0].node.minKey() |
| 1790 | } |
| 1791 | |
| 1792 | // indexOf returns the index of the key within the child nodes. |
| 1793 | func (n *sortedMapBranchNode[K, V]) indexOf(key K, c Comparer[K]) int { |