MCPcopy Create free account
hub / github.com/TheAlgorithms/Java / getValue

Method getValue

src/main/java/com/thealgorithms/datastructures/Node.java:21–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 }
20
21 public T getValue() {
22 return value;
23 }
24
25 public void addChild(Node<T> child) {
26 children.add(child);

Callers 15

testPrefixPropertyMethod · 0.45
testSearchRootMethod · 0.45
testSearch4Method · 0.45
testSearchRootMethod · 0.45
testSearchFMethod · 0.45
testGetWithNewObjectMethod · 0.45
testGetWithSameObjectMethod · 0.45
addDataMethod · 0.45
buildMethod · 0.45
updateMethod · 0.45
mainMethod · 0.45

Calls

no outgoing calls

Tested by 11

testPrefixPropertyMethod · 0.36
testSearchRootMethod · 0.36
testSearch4Method · 0.36
testSearchRootMethod · 0.36
testSearchFMethod · 0.36
testGetWithNewObjectMethod · 0.36
testGetWithSameObjectMethod · 0.36
addDataMethod · 0.36
buildMethod · 0.36
updateMethod · 0.36