Lines Matching refs:lastIndexOf
581 * java.lang.String#lastIndexOf(int)
584 // Test for method int java.lang.String.lastIndexOf(int)
585 assertEquals("Failed to return correct index", 5, hw1.lastIndexOf('W'));
587 .lastIndexOf('Z'));
589 .lastIndexOf(0x10000));
593 * java.lang.String#lastIndexOf(int, int)
596 // Test for method int java.lang.String.lastIndexOf(int, int)
597 assertEquals("Failed to return correct index", 5, hw1.lastIndexOf('W',
600 .lastIndexOf('W', 4));
602 .lastIndexOf('Z', 9));
607 * java.lang.String#lastIndexOf(java.lang.String)
610 // Test for method int java.lang.String.lastIndexOf(java.lang.String)
611 assertEquals("Returned incorrect index", 5, hw1.lastIndexOf("World"));
613 .lastIndexOf("HeKKKKKKKK"));
617 * java.lang.String#lastIndexOf(java.lang.String, int)
620 // Test for method int java.lang.String.lastIndexOf(java.lang.String,
622 assertEquals("Returned incorrect index", 5, hw1.lastIndexOf("World", 9));
623 int result = hw1.lastIndexOf("Hello", 2);
626 .lastIndexOf("", -5));
628 .lastIndexOf("", 5));