public class IoBufferLazyInitializer extends LazyInitializer<IoBuffer>
LazyInitializer implementation that initializes an
IoBuffer only when needed.| Constructor and Description |
|---|
IoBufferLazyInitializer(int bufferSize)
Constructor which sets allocated buffer size to
bufferSize. |
| Modifier and Type | Method and Description |
|---|---|
IoBuffer |
init()
Initializes the value.
|
getpublic IoBufferLazyInitializer(int bufferSize)
bufferSize.bufferSize - the new buffer sizepublic IoBuffer init()
init in class LazyInitializer<IoBuffer>