|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.mina.util.byteaccess.SimpleByteArrayFactory
public class SimpleByteArrayFactory
Creates ByteArray backed by a heap-allocated
IoBuffer. The free method on returned
ByteArrays is a nop.
| Constructor Summary | |
|---|---|
SimpleByteArrayFactory()
Creates a new instance of SimpleByteArrayFactory. |
|
| Method Summary | |
|---|---|
ByteArray |
create(int size)
Creates an instance of ByteArray of size specified by the
size parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleByteArrayFactory()
| Method Detail |
|---|
public ByteArray create(int size)
ByteArrayFactoryByteArray of size specified by the
size parameter.
create in interface ByteArrayFactorysize - The size of the ByteArray
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||