Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Go
/ Key
Method
Key
structure/tree/rbtree.go:33–35 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
31
}
32
33
func
(n *RBNode[T]) Key() T {
34
return
n.key
35
}
36
37
func
(n *RBNode[T]) Parent() Node[T] {
38
return
n.parent
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected