MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / delUse

Method delUse

chapter21/src/main/java/com/seaofnodes/simple/node/Node.java:234–237  ·  view source on GitHub ↗
( Node use )

Source from the content-addressed store, hash-verified

232 // Add bogus null use to keep node alive
233 @SuppressWarnings("unchecked")
234 public <N extends Node> N keep() { addUse(null); return (N)this; }
235 // Remove bogus null.
236 @SuppressWarnings("unchecked")
237 public <N extends Node> N unkeep() { delUse(null); return (N)this; }
238 // Test "keep" status
239 public boolean iskeep() { return _outputs.find(null) != -1; }
240 public void unkill() {

Callers 5

setDefMethod · 0.95
delDefMethod · 0.95
popUntilMethod · 0.95
unkeepMethod · 0.95
killMethod · 0.45

Calls 3

delMethod · 0.45
findMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected