@Test public void testSubSequence() { final MutableCharArray seq = new MutableCharArray("Dawid Weiss"); assertEquals("wi", seq.subSequence(2, 4).toString()); }
public MutableCharArray subSequence(int start, int end) { return new MutableCharArray(buffer, start, end - start); }
MutableCharArray implements CharSequence, Cloneable { public MutableCharArray subSequence(int start, int end) { return new MutableCharArray(buffer, start, end - start); } }
MutableCharArray implements CharSequence, Cloneable { public MutableCharArray subSequence(int start, int end) { return new MutableCharArray(buffer, start, end - start); } MutableCharArray();  MutableCharArray(CharSequence seq);  MutableCharArray(char[] buffer);  MutableCharArray(char[] buffer, int start, int length); }
MutableCharArray implements CharSequence, Cloneable { public MutableCharArray subSequence(int start, int end) { return new MutableCharArray(buffer, start, end - start); } 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(); }
MutableCharArray implements CharSequence, Cloneable { public MutableCharArray subSequence(int start, int end) { return new MutableCharArray(buffer, start, end - start); } 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();  }