private void toASCII(BaseType dtype, PrintWriter pw, boolean addName, String rootName, boolean newLine) { if (dtype instanceof DArray) showArray((DArray) dtype, pw, addName, rootName, newLine); else if (dtype instanceof DGrid) showGrid((DGrid) dtype, pw, addName, rootName, newLine); else if (dtype instanceof DSequence) showSequence((DSequence) dtype, pw, addName, rootName, newLine); else if (dtype instanceof DStructure) showStructure((DStructure) dtype, pw, addName, rootName, newLine); else showPrimitive(dtype, pw, addName, rootName, newLine); }
private void toASCII(BaseType dtype, PrintWriter pw, boolean addName, String rootName, boolean newLine) { if (dtype instanceof DArray) showArray((DArray) dtype, pw, addName, rootName, newLine); else if (dtype instanceof DGrid) showGrid((DGrid) dtype, pw, addName, rootName, newLine); else if (dtype instanceof DSequence) showSequence((DSequence) dtype, pw, addName, rootName, newLine); else if (dtype instanceof DStructure) showStructure((DStructure) dtype, pw, addName, rootName, newLine); else showPrimitive(dtype, pw, addName, rootName, newLine); }