Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enables org.deidentifier.arx.framework.data.DataMatrix to support (2^…
…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