| Modifier | Constructor and Description |
|---|---|
protected |
AbstractArrayND(IntTuple size,
Order preferredIterationOrder)
Creates a new multidimensional array with the given size.
|
| Modifier and Type | Method and Description |
|---|---|
Order |
getPreferredIterationOrder()
Returns the preferred iteration
Order of this array, or
null if this array does not have any preferred
iteration order. |
IntTuple |
getSize()
Returns the size of the array.
|
int |
getTotalSize()
Returns the total size of this array.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcoordinates, subArrayprotected AbstractArrayND(IntTuple size, Order preferredIterationOrder)
size - The size of the array.preferredIterationOrder - The preferred iteration Order
of this array. This may be null if the array does not
have a preferred iteration order.NullPointerException - If the given size is nullIllegalArgumentException - If the given size is negative
along any dimensionpublic final int getTotalSize()
ArrayNDsize along all dimensions.getTotalSize in interface ArrayNDpublic final IntTuple getSize()
ArrayNDpublic Order getPreferredIterationOrder()
ArrayNDOrder of this array, or
null if this array does not have any preferred
iteration order.getPreferredIterationOrder in interface ArrayNDOrderCopyright © 2015. All Rights Reserved.