|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MultiArrayInfo
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 |
|---|
java.lang.Class getComponentType()
Class.getComponentType()int getRank()
int[] getLengths()
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 growboolean isScalar()
true
if and only if the rank is zero.
true iff rank == 0
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||