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(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)
fields
- The fields contained in the struct.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 © 2016. All Rights Reserved.