RingBuffer implements CharSequence, Serializable { public RingBuffer unsafeCopy() { return new RingBuffer(buffer, offset, length); } RingBuffer();  RingBuffer(final int initialSize); private  RingBuffer(final char[] buffer, final int off, final int len); static RingBuffer fromString(final String string); RingBuffer append(final char c); RingBuffer append(final char[] ch, int start, int len); RingBuffer append(final String string); RingBuffer append(final Object obj); void clear(); RingBuffer trimStart(); RingBuffer trimEnd(); RingBuffer trim(); void removeEnd(final int len); void removeStart(final int len); void setLength(final int len); boolean isEmpty(); boolean isBlank(); @Override String toString(); @Override char charAt(final int index); @Override int length(); int capacity(); @Override CharSequence subSequence(final int off, final int len); RingBuffer unsafeCopy(); RingBuffer copy(); char[] toCharArray(); void pad(final int num, final char c); void move(int increment); @Override boolean equals(final Object other); @Override int hashCode();  }
@Test void testUnsafeCopy() { test(Mode.UNSAFE_COPY); }