returnStringBuffer method
Returns a StringBuffer to the pool
Implementation
void returnStringBuffer(StringBuffer buffer) {
if (_stringBufferPool.length < _maxPoolSize) {
buffer.clear();
_stringBufferPool.add(buffer);
}
}
Returns a StringBuffer to the pool
void returnStringBuffer(StringBuffer buffer) {
if (_stringBufferPool.length < _maxPoolSize) {
buffer.clear();
_stringBufferPool.add(buffer);
}
}