Inserts the string representation of the boolean
argument into this sequence.
The overall effect is exactly as if the second argument were
converted to a string by the method String.valueOf(boolean)
,
and the characters of that string were then
inserted
into this character
sequence at the indicated offset.
The offset
argument must be greater than or equal to
0
, and less than or equal to the length
of this sequence.
offset | the offset. | |
b | a boolean . |
StringIndexOutOfBoundsException | if the offset is invalid. |
Diagram: String