void (final StratumInfo currentStratum, final String lineInfo) { final int colonIndex = lineInfo.indexOf(':'); String inputInfo = lineInfo.substring(0, colonIndex); String outputInfo = lineInfo.substring(colonIndex + 1); int repeatCount; final int inputCommaIndex = inputInfo.indexOf(','); if (inputCommaIndex != -1) { repeatCount = Integer.parseInt(inputInfo.substring(inputCommaIndex + 1)); inputInfo = inputInfo.substring(0, inputCommaIndex); } else { repeatCount = 1; } int sharpIndex = inputInfo.indexOf('#'); final String fileId; if (sharpIndex != -1) { fileId = inputInfo.substring(sharpIndex + 1); inputInfo = inputInfo.substring(0, sharpIndex); } else { fileId = myLastFileID; } int inputStartLine = Integer.parseInt(inputInfo); final int outputCommaIndex = outputInfo.indexOf(','); final int increment; if (outputCommaIndex != -1) { increment = Integer.parseInt(outputInfo.substring(outputCommaIndex + 1)); outputInfo = outputInfo.substring(0, outputCommaIndex); } else { increment = 1; } int outputStartLine = Integer.parseInt(outputInfo); final FileInfo info = currentStratum.myFileId2Info.get(fileId); for (int i = 0; i < repeatCount; i++) { for (int j = i * increment; j < (i + 1) * increment; j++) { info.myOutput2InputLine.put(outputStartLine + j, inputStartLine + i); } } }