Module java.base
Package java.lang

# Class StringBuffer

=
public final class StringBuffer
extends java.lang.AbstractStringBuilder
implements java.io.Serializable, java.lang.Appendable, java.lang.CharSequence, java.lang.Comparable<java.lang.StringBuffer>

## Constructors

- =
  public StringBuffer()
- =
  public StringBuffer(int arg0)
- =
  public StringBuffer(java.lang.CharSequence arg0)
- =
  public StringBuffer(java.lang.String arg0)

## Methods

- =
  public java.lang.StringBuffer append(boolean arg0)
- =
  public java.lang.StringBuffer append(int arg0)
- =
  public java.lang.StringBuffer append(long arg0)
- =
  public java.lang.StringBuffer append(char arg0)
- =
  public java.lang.StringBuffer append(float arg0)
- =
  public java.lang.StringBuffer append(double arg0)
- =
  public java.lang.StringBuffer append(char[] arg0)
- =
  public java.lang.StringBuffer append(char[] arg0, int arg1, int arg2)
- =
  public java.lang.StringBuffer append(java.lang.CharSequence arg0)
- =
  public java.lang.StringBuffer append(java.lang.CharSequence arg0, int arg1, int arg2)
- =
  public java.lang.StringBuffer append(java.lang.Object arg0)
- =
  public java.lang.StringBuffer append(java.lang.String arg0)
- =
  public java.lang.StringBuffer append(java.lang.StringBuffer arg0)
- =
  public java.lang.StringBuffer appendCodePoint(int arg0)
- =
  public int capacity()
- =
  public char charAt(int arg0)
- =
  public int codePointAt(int arg0)
- =
  public int codePointBefore(int arg0)
- =
  public int codePointCount(int arg0, int arg1)
- =
  public int compareTo(java.lang.StringBuffer arg0)
- =
  public java.lang.StringBuffer delete(int arg0, int arg1)
- =
  public java.lang.StringBuffer deleteCharAt(int arg0)
- =
  public void ensureCapacity(int arg0)
- =
  public void getChars(int arg0, int arg1, char[] arg2, int arg3)
- =
  public int indexOf(java.lang.String arg0)
- =
  public int indexOf(java.lang.String arg0, int arg1)
- =
  public java.lang.StringBuffer insert(int arg0, boolean arg1)
- =
  public java.lang.StringBuffer insert(int arg0, int arg1)
- =
  public java.lang.StringBuffer insert(int arg0, long arg1)
- =
  public java.lang.StringBuffer insert(int arg0, char arg1)
- =
  public java.lang.StringBuffer insert(int arg0, float arg1)
- =
  public java.lang.StringBuffer insert(int arg0, double arg1)
- =
  public java.lang.StringBuffer insert(int arg0, char[] arg1)
- =
  public java.lang.StringBuffer insert(int arg0, char[] arg1, int arg2, int arg3)
- =
  public java.lang.StringBuffer insert(int arg0, java.lang.CharSequence arg1)
- =
  public java.lang.StringBuffer insert(int arg0, java.lang.CharSequence arg1, int arg2, int arg3)
- =
  public java.lang.StringBuffer insert(int arg0, java.lang.Object arg1)
- =
  public java.lang.StringBuffer insert(int arg0, java.lang.String arg1)
- =
  public int lastIndexOf(java.lang.String arg0)
- =
  public int lastIndexOf(java.lang.String arg0, int arg1)
- =
  public int length()
- =
  public int offsetByCodePoints(int arg0, int arg1)
- =
  public java.lang.StringBuffer repeat(int arg0, int arg1)
- =
  public java.lang.StringBuffer repeat(java.lang.CharSequence arg0, int arg1)
- =
  public java.lang.StringBuffer replace(int arg0, int arg1, java.lang.String arg2)
- =
  public java.lang.StringBuffer reverse()
- =
  public void setCharAt(int arg0, char arg1)
- =
  public void setLength(int arg0)
- =
  public java.lang.CharSequence subSequence(int arg0, int arg1)
- =
  public java.lang.String substring(int arg0)
- =
  public java.lang.String substring(int arg0, int arg1)
- =
  public java.lang.String toString()
- =
  public void trimToSize()

## Serialized Form

=

### serialVersionUID

=3388685877147921107

### Serialization Methods

- =
  private void readObject(java.io.ObjectInputStream arg0) throws java.io.IOException, java.lang.ClassNotFoundException
- =
  private void writeObject(java.io.ObjectOutputStream arg0) throws java.io.IOException

## Summary

No differences.