Package com.kenai.jffi
Class Array
java.lang.Object
com.kenai.jffi.Type
com.kenai.jffi.Aggregate
com.kenai.jffi.Array
Describes the layout of a C array
-
Constructor Details
-
Array
Creates a new C array layout description.- Parameters:
elementType- The type of fields contained in the struct.length- the number of elements.
-
-
Method Details
-
newArray
Creates a new C array layout description.- Parameters:
elementType- The type of each element of the arraylength- The length of the array.
-
getElementType
Returns the type of elements in the array- Returns:
- The
Typeof the elements in the array
-
length
public final int length()Returns the number of elements in the array- Returns:
- The number of elements in the array
-
equals
-
hashCode
public int hashCode()
-