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

Method Node

chapter03/src/main/java/com/seaofnodes/simple/node/Node.java:56–64  ·  view source on GitHub ↗
(Node... inputs)

Source from the content-addressed store, hash-verified

54 _inputs = new ArrayList<>();
55 Collections.addAll(_inputs,inputs);
56 _outputs = new ArrayList<>();
57 for( Node n : _inputs )
58 if( n != null )
59 n.addUse( this );
60 }
61
62 // Easy reading label for debugger, e.g. "Add" or "Region" or "EQ"
63 public abstract String label();
64
65 @Override public String typeName() { return _type==null ? null : _type.toString(); }
66
67 /**

Callers

nothing calls this directly

Calls 2

addAllMethod · 0.45
addUseMethod · 0.45

Tested by

no test coverage detected