(Node... inputs)
| 44 | Collections.addAll(_inputs,inputs); |
| 45 | _outputs = new ArrayList<>(); |
| 46 | for( Node n : _inputs ) |
| 47 | if( n != null ) |
| 48 | n._outputs.add( this ); |
| 49 | } |
| 50 | |
| 51 | /** |
| 52 | * Gets the ith input node |
| 53 | * @param i Offset of the input node |
| 54 | * @return Input node or null |
| 55 | */ |
| 56 | public Node in(int i) { return _inputs.get(i); } |
| 57 |