public final class Array extends Aggregate
| Constructor and Description |
|---|
Array(Type elementType,
int length)
Creates a new C array layout description.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
Type |
getElementType()
Returns the type of elements in the array
|
int |
hashCode() |
int |
length()
Returns the number of elements in the array
|
static Array |
newArray(Type elementType,
int length)
Creates a new C array layout description.
|
public Array(Type elementType, int length)
elementType - The type of fields contained in the struct.length - the number of elements.public static Array newArray(Type elementType, int length)
elementType - The type of each element of the arraylength - The length of the array.public final Type getElementType()
public final int length()
Copyright © 2018. All Rights Reserved.