public class StringBufferPool
extends java.lang.Object
Constructor | Description |
---|---|
StringBufferPool() |
Modifier and Type | Method | 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 ? 2014 Apache XML Project. All Rights Reserved.