isaac-jordan/Matrixonator-Java

cloneData being clone of getData

projectgoav opened this issue · 1 comments

Why do we need cloneData() method?

Surely it's the same as getData()?

The objects they return are different. CloneData returns a new object
containing the matrix data (I.e. changes to the new object don't affect the
old), getData returns the actual data object. Changes to this object are
permanent.

On Wed, 4 Feb 2015 17:00 projectgoav notifications@github.com wrote:

Why do we need cloneData() method?

Surely it's the same as getData()?


Reply to this email directly or view it on GitHub
#25.