Package org.apache.johnzon.core
Class BufferStrategyFactory.CharBufferByInstanceProvider
- java.lang.Object
-
- org.apache.johnzon.core.BufferStrategyFactory.CharBufferByInstanceProvider
-
- All Implemented Interfaces:
Serializable
,BufferStrategy.BufferProvider<char[]>
- Enclosing class:
- BufferStrategyFactory
private static class BufferStrategyFactory.CharBufferByInstanceProvider extends Object implements BufferStrategy.BufferProvider<char[]>
-
-
Field Summary
Fields Modifier and Type Field Description private int
size
-
Constructor Summary
Constructors Constructor Description CharBufferByInstanceProvider(int size)
-
-
-
Method Detail
-
newBuffer
public char[] newBuffer()
- Specified by:
newBuffer
in interfaceBufferStrategy.BufferProvider<char[]>
-
release
public void release(char[] value)
- Specified by:
release
in interfaceBufferStrategy.BufferProvider<char[]>
-
-