org.jocl
Class Struct

java.lang.Object
  extended by org.jocl.Struct

public abstract class Struct
extends java.lang.Object


Nested Class Summary
static class Struct.Array<T extends Struct>
           
 
Field Summary
 java.nio.ByteBuffer byteBuffer
           
 
Constructor Summary
protected Struct()
           
 
Method Summary
static
<T extends Struct>
Struct.Array<T>
allocateArray(java.lang.Class<T> structClass, int elements)
           
 void read()
           
 void visualize()
           
 void write()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

byteBuffer

public java.nio.ByteBuffer byteBuffer
Constructor Detail

Struct

protected Struct()
Method Detail

allocateArray

public static <T extends Struct> Struct.Array<T> allocateArray(java.lang.Class<T> structClass,
                                                               int elements)

visualize

public void visualize()

write

public void write()

read

public void read()