com.kenai.jaffl.struct
Class StructUtil

java.lang.Object
  extended by com.kenai.jaffl.struct.StructUtil

public final class StructUtil
extends Object


Method Summary
static MemoryIO getMemoryIO(Struct struct)
           
static MemoryIO getMemoryIO(Struct struct, int flags)
           
static int getMinimumAlignment(Struct struct)
           
static int getSize(Struct struct)
           
static boolean isDirect(Struct struct)
           
static
<T extends Struct>
T[]
newArray(Class<T> type, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMemoryIO

public static final MemoryIO getMemoryIO(Struct struct)

getMemoryIO

public static final MemoryIO getMemoryIO(Struct struct,
                                         int flags)

getSize

public static final int getSize(Struct struct)

getMinimumAlignment

public static final int getMinimumAlignment(Struct struct)

isDirect

public static final boolean isDirect(Struct struct)

newArray

public static final <T extends Struct> T[] newArray(Class<T> type,
                                                    int length)


Copyright © 2011. All Rights Reserved.