public class StringBufferPool
extends java.lang.Object
| Constructor and Description |
|---|
StringBufferPool() |
| Modifier and Type | Method and Description |
|---|---|
static void |
free(FastStringBuffer sb)
Return a string buffer back to the pool.
|
static FastStringBuffer |
get()
Get the first free instance of a string buffer, or create one
if there are no free instances.
|
public static FastStringBuffer get()
public static void free(FastStringBuffer sb)
sb - Must be a non-null reference to a string buffer.Copyright © 2023 Apache XML Project. All Rights Reserved.