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

Method addUse

chapter02/src/main/java/com/seaofnodes/simple/node/Node.java:156–156  ·  view source on GitHub ↗
(N n)

Source from the content-addressed store, hash-verified

154
155 // Breaks the edge invariants, used temporarily
156 protected <N extends Node> void addUse(N n) { _outputs.add(n); }
157
158 // Remove node 'use' from 'def's (i.e. our) output list, by compressing the list in-place.
159 // Return true if the output list is empty afterward.

Callers 2

NodeMethod · 0.45
setDefMethod · 0.45

Calls 1

addMethod · 0.45

Tested by

no test coverage detected