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