Lines Matching refs:lastIndexOf
1379 * java.lang.StringBuilder.lastIndexOf(String)
1384 assertEquals(0, sb.lastIndexOf("0"));
1385 assertEquals(0, sb.lastIndexOf("012"));
1386 assertEquals(-1, sb.lastIndexOf("02"));
1387 assertEquals(8, sb.lastIndexOf("89"));
1390 sb.lastIndexOf(null);
1398 * java.lang.StringBuilder.lastIndexOf(String, int)
1403 assertEquals(0, sb.lastIndexOf("0"));
1404 assertEquals(0, sb.lastIndexOf("012"));
1405 assertEquals(-1, sb.lastIndexOf("02"));
1406 assertEquals(8, sb.lastIndexOf("89"));
1408 assertEquals(0, sb.lastIndexOf("0"), 0);
1409 assertEquals(0, sb.lastIndexOf("012"), 0);
1410 assertEquals(-1, sb.lastIndexOf("02"), 0);
1411 assertEquals(8, sb.lastIndexOf("89"), 0);
1413 assertEquals(-1, sb.lastIndexOf("0"), 5);
1414 assertEquals(-1, sb.lastIndexOf("012"), 5);
1415 assertEquals(-1, sb.lastIndexOf("02"), 0);
1416 assertEquals(8, sb.lastIndexOf("89"), 5);
1419 sb.lastIndexOf(null, 0);