public class StringBufferPool extends 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 © 2016 JBoss by Red Hat. All rights reserved.