## Uses of Class
java.lang.StringBuffer

- Packages that use StringBuffer
  Package | Description
  --- | ---
  java.lang |

- - ### Uses of StringBuffer in java.lang

    Methods in java.lang that return StringBuffer
    Modifier and Type | Method and Description
    --- | ---
    `StringBuffer` | StringBuffer.`append(boolean b)`
    `StringBuffer` | StringBuffer.`append(char c)`
    `StringBuffer` | StringBuffer.`append(char[] str)`
    `StringBuffer` | StringBuffer.`append(char[] str, int offset, int len)`
    `StringBuffer` | StringBuffer.`append(CharSequence s)` Appends the specified `CharSequence` to this sequence.
    `StringBuffer` | StringBuffer.`append(CharSequence s, int start, int end)`
    `StringBuffer` | StringBuffer.`append(double d)`
    `StringBuffer` | StringBuffer.`append(float f)`
    `StringBuffer` | StringBuffer.`append(int i)`
    `StringBuffer` | StringBuffer.`append(long lng)`
    `StringBuffer` | StringBuffer.`append(Object obj)`
    `StringBuffer` | StringBuffer.`append(String str)`
    `StringBuffer` | StringBuffer.`append(StringBuffer sb)` Appends the specified `StringBuffer` to this sequence.
    `StringBuffer` | StringBuffer.`appendCodePoint(int codePoint)`
    `StringBuffer` | StringBuffer.`delete(int start, int end)`
    `StringBuffer` | StringBuffer.`deleteCharAt(int index)`
    `StringBuffer` | StringBuffer.`insert(int offset, boolean b)`
    `StringBuffer` | StringBuffer.`insert(int offset, char c)`
    `StringBuffer` | StringBuffer.`insert(int offset, char[] str)`
    `StringBuffer` | StringBuffer.`insert(int index, char[] str, int offset, int len)`
    `StringBuffer` | StringBuffer.`insert(int dstOffset, CharSequence s)`
    `StringBuffer` | StringBuffer.`insert(int dstOffset, CharSequence s, int start, int end)`
    `StringBuffer` | StringBuffer.`insert(int offset, double d)`
    `StringBuffer` | StringBuffer.`insert(int offset, float f)`
    `StringBuffer` | StringBuffer.`insert(int offset, int i)`
    `StringBuffer` | StringBuffer.`insert(int offset, long l)`
    `StringBuffer` | StringBuffer.`insert(int offset, Object obj)`
    `StringBuffer` | StringBuffer.`insert(int offset, String str)`
    `StringBuffer` | StringBuffer.`replace(int start, int end, String str)`
    `StringBuffer` | StringBuffer.`reverse()`

    Methods in java.lang with parameters of type StringBuffer
    Modifier and Type | Method and Description
    --- | ---
    `StringBuilder` | StringBuilder.`append(StringBuffer sb)` Appends the specified `StringBuffer` to this sequence.
    `StringBuffer` | StringBuffer.`append(StringBuffer sb)` Appends the specified `StringBuffer` to this sequence.
    `boolean` | String.`contentEquals(StringBuffer sb)` Compares this string to the specified `StringBuffer`.

    Constructors in java.lang with parameters of type StringBuffer
    Constructor and Description
    `String(StringBuffer buffer)` Allocates a new string that contains the sequence of characters currently contained in the string buffer argument.

Copyright © 2025 API Design. All Rights Reserved.