MutableCharArray implements CharSequence, Cloneable { @Override public String toString() { return new String(buffer, start, length); } MutableCharArray();  MutableCharArray(CharSequence seq);  MutableCharArray(char[] buffer);  MutableCharArray(char[] buffer, int start, int length); void reset(CharSequence seq); void reset(char[] buffer); void reset(char[] buffer, int start, int length); char[] getBuffer(); int getStart(); final char charAt(final int index); int length(); MutableCharArray subSequence(int start, int end); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object other); static final int hashCode(final char[] buffer, int start, int length); MutableCharArray clone(); char[] toArray();  }
@Test public void testCharArrayCharSequence() { final MutableCharArray seq = new MutableCharArray("Dawid Weiss"); assertEquals(seq.toString(), "Dawid Weiss"); }
@Test public void testCharArrayCharArrayIntInt() { final MutableCharArray seq = new MutableCharArray("Dawid Weiss".toCharArray(), 1, 3); assertEquals("awi", seq.toString()); }