public class IoBufferLazyInitializer extends LazyInitializer<IoBuffer>
LazyInitializer
implementation that initializes an
IoBuffer
only when needed.构造器和说明 |
---|
IoBufferLazyInitializer(int bufferSize)
Constructor which sets allocated buffer size to
bufferSize . |
限定符和类型 | 方法和说明 |
---|---|
IoBuffer |
init()
Initializes the value.
|
get
public IoBufferLazyInitializer(int bufferSize)
bufferSize
.bufferSize
- the new buffer sizepublic IoBuffer init()
init
在类中 LazyInitializer<IoBuffer>