public class BasicInputThreadLocal extends java.lang.ThreadLocal<BasicInput> implements java.io.Closeable
Constructor and Description |
---|
BasicInputThreadLocal(InputFactory inputFact,
boolean isSeq)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected BasicInput |
initialValue() |
public BasicInputThreadLocal(InputFactory inputFact, boolean isSeq)
inputFact
- factory for BasicInput objectsisSeq
- true if created inputs are sequential, false for randomprotected BasicInput initialValue()
initialValue
in class java.lang.ThreadLocal<BasicInput>
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable