java.lang.Object | ||
↳ | com.mongodb.util.SimplePool<T> | |
↳ | com.mongodb.util.StringBuilderPool |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Initializes a pool of a given number of StringBuilders, each of a certain size.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new string builder.
| |||||||||||
Checks that the given string builder is within the size limit.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Initializes a pool of a given number of StringBuilders, each of a certain size.
maxToKeep | the number of string builders in the pool |
---|---|
maxSize | the size of each string builder |
Checks that the given string builder is within the size limit.
buf | the builder to check |
---|