com.kenai.jaffl.provider.jffi
Class ArrayMemoryIO

java.lang.Object
  extended by com.kenai.jaffl.MemoryIO
      extended by com.kenai.jaffl.provider.AbstractMemoryIO
          extended by com.kenai.jaffl.provider.AbstractArrayMemoryIO
              extended by com.kenai.jaffl.provider.jffi.ArrayMemoryIO
All Implemented Interfaces:
Pointer

public final class ArrayMemoryIO
extends AbstractArrayMemoryIO


Nested Class Summary
 
Nested classes/interfaces inherited from class com.kenai.jaffl.provider.AbstractArrayMemoryIO
AbstractArrayMemoryIO.ArrayIO
 
Field Summary
 
Fields inherited from class com.kenai.jaffl.provider.AbstractArrayMemoryIO
buffer, IO, length, LONG_SIZE, offset
 
Fields inherited from interface com.kenai.jaffl.Pointer
SIZE
 
Constructor Summary
ArrayMemoryIO(int size)
           
 
Method Summary
 MemoryIO getMemoryIO(long offset)
           
 MemoryIO getMemoryIO(long offset, long size)
           
 Pointer getPointer(long offset)
           
 void putPointer(long offset, Pointer value)
           
 
Methods inherited from class com.kenai.jaffl.provider.AbstractArrayMemoryIO
address, array, clear, get, get, get, get, get, get, getAddress, getByte, getDouble, getFloat, getInt, getLong, getShort, getString, getString, index, indexOf, indexOf, isDirect, isNull, length, offset, put, put, put, put, put, put, putAddress, putByte, putDouble, putFloat, putInt, putLong, putShort, putString, setMemory
 
Methods inherited from class com.kenai.jaffl.provider.AbstractMemoryIO
checkBounds, getNativeLong, putAddress, putNativeLong, slice, slice, transferFrom, transferTo
 
Methods inherited from class com.kenai.jaffl.MemoryIO
allocate, allocateDirect, allocateDirect, wrap, wrap, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayMemoryIO

public ArrayMemoryIO(int size)
Method Detail

getMemoryIO

public MemoryIO getMemoryIO(long offset)
Specified by:
getMemoryIO in class MemoryIO

getMemoryIO

public MemoryIO getMemoryIO(long offset,
                            long size)
Specified by:
getMemoryIO in class MemoryIO

getPointer

public Pointer getPointer(long offset)
Specified by:
getPointer in interface Pointer
Specified by:
getPointer in class MemoryIO

putPointer

public void putPointer(long offset,
                       Pointer value)
Specified by:
putPointer in interface Pointer
Specified by:
putPointer in class MemoryIO


Copyright © 2011. All Rights Reserved.