public static String pprint(Row row) { String string = ""; PrintableRow pRow = new PrintableRow(row); for (int i = 0; i < pRow.nrOfColumns(); i++) { string += colorToChar(pRow.position(i)); } string += " "; string += pRow.matchedPositions(); string += "/"; string += pRow.matchedColors(); return string; } }