Serialized Form
-
Package net.thevpc.common.strings
-
Class net.thevpc.common.strings.StringBuilder2
class StringBuilder2 extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialization Methods
-
readObject
readObject is called to restore the state of the StringBuffer from a stream.- Parameters:
s- stream- Throws:
IOException- IOExceptionClassNotFoundException- ClassNotFoundException
-
writeObject
Save the state of theStringBuilder2instance to a stream (that is, serialize it).- Serial Data:
- the number of characters currently stored in the string
builder (
int), followed by the characters in the string builder (char[]). The length of thechararray may be greater than the number of characters currently stored in the string builder, in which case extra characters are ignored. - Parameters:
s- stream- Throws:
IOException- IOException
-
-
Serialized Fields
-
sb
StringBuilder sb
-
-