()
| 112 | } |
| 113 | |
| 114 | @Override |
| 115 | public String toString() { |
| 116 | return "Node{" + |
| 117 | "content=" + mContent + |
| 118 | ", mParent=" + (mParent == null ? "I'm the root" : mParent.mContent) + |
| 119 | ", children=" + children + |
| 120 | '}'; |
| 121 | } |
| 122 | |
| 123 | void removeChild(Node child) { |
| 124 | children.remove(child); |
no outgoing calls
no test coverage detected