Lines Matching refs:indexOf
386 int loc = b.indexOf(toFind);
388 System.out.printf("[String.find] indexOf needle length %d found at index %d in % ,18d ns.\n", toFind.length(), loc, (y-x));
397 int loc = b.indexOf(toFind);
399 System.out.printf("[StringBuffer.find] indexOf needle length %d found at index %d in % ,18d ns.\n", toFind.length(), loc, (y-x));
408 int loc = b.indexOf(toFind);
410 System.out.printf("[Rope.find] indexOf needle length %d found at index %d in % ,18d ns.\n", toFind.length(), loc, (y-x));
418 int loc = aChristmasCarol.indexOf(toFind);
420 System.out.printf("[String.find] indexOf needle length %d found at index %d in % ,18d ns.\n", toFind.length(), loc, (y-x));
428 int loc = aChristmasCarol.indexOf(toFind);
430 System.out.printf("[StringBuffer.find] indexOf needle length %d found at index %d in % ,18d ns.\n", toFind.length(), loc, (y-x));
438 int loc = aChristmasCarol.indexOf(toFind);
440 System.out.printf("[Rope.find] indexOf needle length %d found at index %d in % ,18d ns.\n", toFind.length(), loc, (y-x));