Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Java
/ addChild
Method
addChild
src/main/java/com/thealgorithms/datastructures/Node.java:25–27 ·
view source on GitHub ↗
(Node<T> child)
Source
from the content-addressed store, hash-verified
23
}
24
25
public
void
addChild(Node<T> child) {
26
children.add(child);
27
}
28
29
public
List<Node<T>> getChildren() {
30
return
children;
Callers
2
setUp
Method · 0.95
setUp
Method · 0.95
Calls
1
add
Method · 0.45
Tested by
2
setUp
Method · 0.76
setUp
Method · 0.76