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