Package org.apache.johnzon.core
Class BufferStrategyFactory.CharBufferSingletonProvider
- java.lang.Object
-
- org.apache.johnzon.core.BufferStrategyFactory.SingletonProvider<char[]>
-
- org.apache.johnzon.core.BufferStrategyFactory.CharBufferSingletonProvider
-
- All Implemented Interfaces:
Serializable
,BufferStrategy.BufferProvider<char[]>
- Enclosing class:
- BufferStrategyFactory
private static class BufferStrategyFactory.CharBufferSingletonProvider extends BufferStrategyFactory.SingletonProvider<char[]>
-
-
Field Summary
-
Fields inherited from class org.apache.johnzon.core.BufferStrategyFactory.SingletonProvider
buffer
-
-
Constructor Summary
Constructors Constructor Description CharBufferSingletonProvider(int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected char[]
newInstance(int size)
void
release(char[] value)
-
Methods inherited from class org.apache.johnzon.core.BufferStrategyFactory.SingletonProvider
newBuffer
-
-
-
-
Method Detail
-
newInstance
protected char[] newInstance(int size)
- Specified by:
newInstance
in classBufferStrategyFactory.SingletonProvider<char[]>
-
release
public void release(char[] value)
- Specified by:
release
in interfaceBufferStrategy.BufferProvider<char[]>
- Overrides:
release
in classBufferStrategyFactory.SingletonProvider<char[]>
-
-