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

Method Node

chapter10/src/main/java/com/seaofnodes/simple/node/Node.java:61–69  ·  view source on GitHub ↗
(Node... inputs)

Source from the content-addressed store, hash-verified

59 public static int UID() { return UNIQUE_ID; }
60
61 protected Node(Node... inputs) {
62 _nid = UNIQUE_ID++; // allocate unique dense ID
63 _inputs = new ArrayList<>();
64 Collections.addAll(_inputs,inputs);
65 _outputs = new ArrayList<>();
66 for( Node n : _inputs )
67 if( n != null )
68 n.addUse( this );
69 }
70
71 // Easy reading label for debugger, e.g. "Add" or "Region" or "EQ"
72 public abstract String label();

Callers

nothing calls this directly

Calls 2

addAllMethod · 0.45
addUseMethod · 0.45

Tested by

no test coverage detected