@Test public void testTrim() { MutableString ms1 = new MutableString(" foo "); ms1.trim(); assertEquals("foo", ms1.toString()); }
public void trim() { m_string = m_string.trim(); }
MutableString { public void trim() { m_string = m_string.trim(); } }
MutableString { public void trim() { m_string = m_string.trim(); } MutableString();  MutableString(String s);  MutableString(MutableString s); }
MutableString { public void trim() { m_string = m_string.trim(); } 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 void trim() { m_string = m_string.trim(); } 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();  }