printPipe(iter.isPipeline(), outputStream);
printStreamSelector(iter, outputStream);
    public void printProgram(Iterator iter)    {        assert iter.isPipeline() != null;        File outputFile;        FileOutputStream fileOutputStream;        DataOutputStream outputStream;        try            {                outputFile = new File(getName(iter) + ".java");                fileOutputStream = new FileOutputStream(outputFile);                outputStream = new DataOutputStream(fileOutputStream);                outputStream.writeBytes("import streamit.*;\n\n");                outputStream.writeBytes(                                        "public class " + getName(iter) + " extends StreamIt\n");                outputStream.writeBytes("{\n");                outputStream.writeBytes("  public static void main (String [] args)\n");                outputStream.writeBytes("  {\n");                outputStream.writeBytes("    new " + getName(iter) + " ().run (args);\n");                outputStream.writeBytes("  }\n");                printPipe(iter.isPipeline(), outputStream);                outputStream.writeBytes("}\n");            }        catch (Throwable e)            {                ERROR(e);            }    }