(Node... inputs)
| 57 | |
| 58 | |
| 59 | Node(Node... inputs) { |
| 60 | _nid = CODE.getUID(); // allocate unique dense ID |
| 61 | _inputs = new Ary<>(Node.class); |
| 62 | Collections.addAll(_inputs,inputs); |
| 63 | _outputs = new Ary<>(Node.class); |
| 64 | for( Node n : _inputs ) |
| 65 | if( n != null ) |
| 66 | n.addUse( this ); |
| 67 | } |
| 68 | |
| 69 | // Make a Node using the existing arrays of nodes. |
| 70 | // Used by any pass rewriting all Node classes but not the edges. |