@Test public void testIndexOf2() { MutableString ms1 = new MutableString("abc,def,ghi"); assertEquals(7, ms1.indexOf(",", 5)); }
public int indexOf(String s) { return m_string.indexOf(s); }
MutableString { public int indexOf(String s) { return m_string.indexOf(s); } }
MutableString { public int indexOf(String s) { return m_string.indexOf(s); } MutableString();  MutableString(String s);  MutableString(MutableString s); }
MutableString { public int indexOf(String s) { return m_string.indexOf(s); } MutableString();  MutableString(String s);  MutableString(MutableString s); void clear(); int indexOf(String s); int indexOf(String s, int fromIndex); void trim(); int length(); MutableString[] split(String regex); MutableString truncateSubstring(int begin, int end); MutableString truncateSubstring(int begin); MutableString substring(int start, int end); MutableString substring(int start); boolean startsWith(String s); boolean startsWithIgnoreCase(String s); boolean endsWith(String s); boolean endsWithIgnoreCase(String s); boolean is(String s); @Override boolean equals(Object o); @Override int hashCode(); boolean isEmpty(); void replaceAll(String regex, String replacement); @Override String toString(); }
MutableString { public int indexOf(String s) { return m_string.indexOf(s); } MutableString();  MutableString(String s);  MutableString(MutableString s); void clear(); int indexOf(String s); int indexOf(String s, int fromIndex); void trim(); int length(); MutableString[] split(String regex); MutableString truncateSubstring(int begin, int end); MutableString truncateSubstring(int begin); MutableString substring(int start, int end); MutableString substring(int start); boolean startsWith(String s); boolean startsWithIgnoreCase(String s); boolean endsWith(String s); boolean endsWithIgnoreCase(String s); boolean is(String s); @Override boolean equals(Object o); @Override int hashCode(); boolean isEmpty(); void replaceAll(String regex, String replacement); @Override String toString();  }