Package java.lang
Class StringBuffer

Public Method insert

StringBuffer insert(int offset, boolean b)

StringBuffer insert(int offset, char c)

StringBuffer insert(int offset, char[] str)

Throws:

StringBuffer insert(int offset, float f)

StringBuffer insert(int offset, int i)

StringBuffer insert(int offset, Object obj)

StringBuffer insert(int offset, String str)

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Inserts the string representation of a certain data type into this string buffer. The offset argument must be greater than or equal to 0, and less than or equal to the length of this sequence.

insert(int offset, boolean b) method:

This method inserts the string representation of the boolean argument into this sequence.

insert(int offset, char c) method:

This method inserts the string representation of the char argument into this sequence. Note that chars occupy only one byte, so take care when using Unicode symbols.

insert(int offset, char[] str) method:

This method inserts the string representation of the char array argument into this sequence. Note that chars occupy only one byte, so take care when using Unicode symbols.

insert(int offset, float f) method:

This method inserts the string representation of the float argument into this sequence.

insert(int offset, int i) method:

This method inserts the string representation of the second int argument into this sequence.

insert(int offset, Object obj) method:

This method inserts the string representation of the Object argument into this character sequence.

insert(int offset, String str) method:

This method inserts the string str into this character sequence.