聚合云播

排序

影之地带剧情简介

"; int i = 3 * 20; SummaryInfo[] infos = new SummaryInfo[i]; for (int m = 0; m < i; m ) { infos[m] = new SummaryInfo(); infos[m].setStart((rand.nextInt(20) 1) * 3); infos[m].setEnd(infos[m].getStart() 19); infos[m].setCentent("【"); int start = infos[m].getStart() 3; String s = "这是索引在" start "到" infos[m].getEnd() "的部分"; infos[m].setCentent(s); } String startIndex = "【"; String endIndex = "】"; while (n <= i) { int index = source.indexOf(startIndex, currentIndex); if (index != -1) { int indexEnd = source.indexOf(endIndex, currentIndex); currentIndex = indexEnd 1; String tmp = source.substring(index startIndex.length(), indexEnd); for (SummaryInfo info : infos) { if (StringUtil.checkNull(tmp)) {// TODO continue; } if (Integer.parseInt(tmp) >= info.getStart() && Integer.parseInt(tmp) <= info.getEnd()) { System.out.println(tmp); System.out.println( "此时变量n的值是:" n " index的值是:" index " indexEnd的值是:" indexEnd " tmp的值是:" tmp); System.out.println(info.getCentent()); list.add(info); break; } } } n ; } for (SummaryInfo info : list) { Integer start = info.getStart(); Integer end = info.getEnd(); String infoCentent = info.getCentent(); tmpSource.insert(3 * Integer.parseInt(infoCentent), " "); } System.out.println(tmpSource); }}

猜你喜欢

甜蜜十六岁

2002/德国/西班牙/英国/剧情,犯罪

冒名之肤

2021/美国/剧情

复仇计划

2018/大陆/剧情

ByeByBi

2016/韩国/短片,同性

风月君子

2024/土耳其/剧情,剧情片