com.jogamp.common.nio
Class Int64Buffer

java.lang.Object
  extended by com.jogamp.common.nio.AbstractBuffer<B>
      extended by com.jogamp.common.nio.AbstractLongBuffer<Int64Buffer>
          extended by com.jogamp.common.nio.Int64Buffer
All Implemented Interfaces:
NativeBuffer<Int64Buffer>

public abstract class Int64Buffer
extends AbstractLongBuffer<Int64Buffer>

Hardware independent container for native int64_t arrays. The native values (NIO direct ByteBuffer) are always 64bit wide.

Author:
Michael Bien, Sven Gothel

Field Summary
 
Fields inherited from class com.jogamp.common.nio.AbstractLongBuffer
backup
 
Fields inherited from class com.jogamp.common.nio.AbstractBuffer
bb, capacity, position
 
Constructor Summary
protected Int64Buffer(ByteBuffer bb)
           
 
Method Summary
static Int64Buffer allocate(int size)
           
static Int64Buffer allocateDirect(int size)
           
static int elementSize()
           
 String toString()
           
static Int64Buffer wrap(ByteBuffer src)
           
 
Methods inherited from class com.jogamp.common.nio.AbstractLongBuffer
array, get, get, get, hasArray, put, put, put, put
 
Methods inherited from class com.jogamp.common.nio.AbstractBuffer
arrayOffset, capacity, getBuffer, hasRemaining, isDirect, limit, position, position, remaining, rewind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Int64Buffer

protected Int64Buffer(ByteBuffer bb)
Method Detail

allocate

public static Int64Buffer allocate(int size)

allocateDirect

public static Int64Buffer allocateDirect(int size)

wrap

public static Int64Buffer wrap(ByteBuffer src)

elementSize

public static int elementSize()

toString

public String toString()
Overrides:
toString in class AbstractBuffer<Int64Buffer>