MCPcopy Index your code
hub / github.com/apache/groovy / remove

Method remove

src/main/java/groovy/util/Node.java:175–178  ·  view source on GitHub ↗

Removes a child of the current node. @param child the child to remove @return true if the param was a child of the current node

(Node child)

Source from the content-addressed store, hash-verified

173 * @return <code>true</code> if the param was a child of the current node
174 */
175 public boolean remove(Node child) {
176 child.setParent(null);
177 return getParentList(this).remove(child);
178 }
179
180 /**
181 * Creates a new node as a child of the current node.

Callers

nothing calls this directly

Calls 3

getParentListMethod · 0.95
setParentMethod · 0.65
removeMethod · 0.65

Tested by

no test coverage detected