Skip to content

Commit

Permalink
Enables org.deidentifier.arx.framework.data.DataMatrix to support (2^…
Browse files Browse the repository at this point in the history
…31-1)^2 cells (#299)

* Update SWT to 4.7.2
* Modified class DataMatrix to support more than 2^31-1 elements. Instead of throwing an IllegalArgumentException, an multidimensional array is created. Now the upper bound of cells for a DataMatrix is (2^31)^2.
* Fixed 'ArithmeticException: integer overflow' caused by function Math.multiplyExact in DataMatrix constructor. Now the exception is handled.
* Solved a mistake in if clause for this.isMultidimensional.
* Extracted single array and multidimensional array operations from DataMatrix class to new classes: SingleArrayMatrix and MultidimensionalArrayMatrix; Created a new abstract class 'Matrix' to keep all information for a single array or a multidimensional one; Runned JUnit tests using single array and multidimensional array, and both have passed in all tests.
* Update build processes
* Update GUI dependencies to fix problems on MacOS
* Replace jar with version compiled with older compiler
* Fix various update issues on MacOS
* Fix update issues on MacOS
* Fix test and improve exception message
* Fix bug with pattern offset on MacOS
* Fixes for various table update issues on MacOS
* Formatting
Co-authored-by: Fabian Prasser <mail@fabian-prasser.de>
  • Loading branch information
ramongonze authored Jul 7, 2020
1 parent 2808c70 commit ddb6d27
Show file tree
Hide file tree
Showing 4 changed files with 618 additions and 276 deletions.
Loading

0 comments on commit ddb6d27

Please # to comment.