T
- the type of formatter to providepublic class FormatThreadLocal<T extends java.text.Format>
extends java.lang.ThreadLocal<T>
Format
subclasses that are not thread
safe by themselves. Use ThreadLocal.get()
on an instance of this class to get a thread
local formatter instance.Constructor and Description |
---|
FormatThreadLocal(T prototype)
Create a new thread local formatter generator.
|
Modifier and Type | Method and Description |
---|---|
protected T |
initialValue() |