I'm just curious about this. It strikes me that the behavior of stringbilders is functionally similar to the stream (if not technically) - this is the uninterrupted data for which other data can be added.
Then, just curious. The input and output of binary data is
The stream is an input and output binary data.
The stringbuilder is meant to prepare text data.
In addition to this, the issue of the state - stringbillers have only current values, there is no idea of "status". This allows you to access and convert data anywhere in it. On the other hand, a stream is logically possible to have an eternal stream of data, where to say where you want to meet, with a cursor somewhere in between You usually leave / read a reader / data as well as read / write to leave a specific part of the data stream.
Try to imagine implementing the Stream API with stringbilder ... it's not just fit you can do sort , but basically you can The string will end with the reader and string vetter.
Comments
Post a Comment