|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.kenai.jffi.Type
com.kenai.jffi.Aggregate
com.kenai.jffi.Array
public final class Array
Describes the layout of a C array
Field Summary |
---|
Fields inherited from class com.kenai.jffi.Type |
---|
align, DOUBLE, FLOAT, handle, LONGDOUBLE, POINTER, SCHAR, SINT, SINT16, SINT32, SINT64, SINT8, size, SLONG, SSHORT, type, UCHAR, UINT, UINT16, UINT32, UINT64, UINT8, ULONG, USHORT, VOID |
Constructor Summary | |
---|---|
Array(Type elementType,
int length)
Creates a new C array layout description. |
Method Summary | |
---|---|
Type |
getElementType()
Returns the type of elements in the array |
int |
length()
Returns the number of elements in the array |
Methods inherited from class com.kenai.jffi.Aggregate |
---|
finalize |
Methods inherited from class com.kenai.jffi.Type |
---|
alignment, equals, hashCode, size, type |
Methods inherited from class java.lang.Object |
---|
clone, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Array(Type elementType, int length)
fields
- The fields contained in the struct.Method Detail |
---|
public final Type getElementType()
public final int length()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |