org.otfeed.support
Class ByteReverseBufferAllocator

java.lang.Object
  extended by org.otfeed.support.ByteReverseBufferAllocator
All Implemented Interfaces:
IBufferAllocator

public class ByteReverseBufferAllocator
extends java.lang.Object
implements IBufferAllocator

Allocates byte-reverse ByteBuffers.


Constructor Summary
ByteReverseBufferAllocator()
           
 
Method Summary
 java.nio.ByteBuffer allocate(int size)
          Allocates ByteBuffer with the given capacity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteReverseBufferAllocator

public ByteReverseBufferAllocator()
Method Detail

allocate

public java.nio.ByteBuffer allocate(int size)
Description copied from interface: IBufferAllocator
Allocates ByteBuffer with the given capacity.

Specified by:
allocate in interface IBufferAllocator
Parameters:
size - capacity (in bytes).
Returns:
buffer.


Copyright © 2007 Mike Kroutikov. All Rights Reserved.