org.tm4j.panckoucke.impl.abstraction.util.Matrix .getData()

Description

returns the data of this matrix in a two-dimensional array. The second dimension of the array has exactly the number of members as this matrix has columns.

This method transfers the data from the private data model to a new two-dimensional array. It its therefor costly and should be called - in an optimal world - only once, after the matrix is completly filled. Nevertheless, if you don't care about cost, you are free to call it as often as you like.

Returns

a two-dimensional array or null if this matrix does not contain any data at all.

Other Resources

Related Topics