|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Inquiry or introspection interface for abstract multidimensional arrays. The MultiArray interface extends this by adding data access operations.
MultiArray,
ProtoVariable| Method Summary | |
java.lang.Class |
getComponentType()
Returns the Class object representing the component type of the array. |
int[] |
getLengths()
Discover the dimensions of this MultiArray. |
int |
getRank()
Returns the number of dimensions of the array. |
boolean |
isScalar()
Convenience interface; return true
if and only if the rank is zero. |
boolean |
isUnlimited()
Returns true if and only if the effective dimension
lengths can change. |
| Method Detail |
public java.lang.Class getComponentType()
Class.getComponentType()public int getRank()
public int[] getLengths()
public boolean isUnlimited()
true if and only if the effective dimension
lengths can change. For example, if this were implemented by
a java.util.Vector.true iff this can growpublic boolean isScalar()
true
if and only if the rank is zero.true iff rank == 0
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||