nexts.put(node, next);
CType[] oldOutputTypes = outputTypes; outputTypes = new CType[oldOutputTypes.length + 1]; for (int i = 0; i < oldOutputTypes.length; i++) outputTypes[i] = oldOutputTypes[i]; outputTypes[outputTypes.length - 1] = Util.getOutputType(node);  nexts.put(node, next);
    public void addNext(FlatNode node, FlatNode next)     {	assert flatNodes.contains(node);	//System.out.println("Add next " + node + " -> " + next);	//create a new outputs array with the old outputs + this	FlatNode[] oldOutputs = outputs;	outputs = new FlatNode[oldOutputs.length + 1];	for (int i = 0; i < oldOutputs.length; i++)	    outputs[i] = oldOutputs[i];	outputs[outputs.length - 1] = node;		//create a new output type array...	CType[] oldOutputTypes = outputTypes;	outputTypes = new CType[oldOutputTypes.length + 1];	for (int i = 0; i < oldOutputTypes.length; i++) 	    outputTypes[i] = oldOutputTypes[i];	outputTypes[outputTypes.length - 1] = Util.getOutputType(node);	nexts.put(node, next);    }