public final class MatrixUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
compareMatrices(Object[][] matrix1,
Object[][] matrix2)
compares the objects whithin two matrixes
|
static boolean |
compareMatricesAsStrings(Object[][] matrix1,
Object[][] matrix2)
compares all values whithin the two matrixes but before comparison it calls the toString method
|
static void |
logMatrix(List list)
logs an ArrayList to the standars output
|
static void |
logMatrix(Object[][] m) |
static void |
logMatrix(String comment,
Object[][] m) |
public static void logMatrix(Object[][] m)
public static void logMatrix(List list)
list
- a list of Object[] array (i.e. a variable row matrix)public static boolean compareMatrices(Object[][] matrix1, Object[][] matrix2)
matrix1
- matrix2
- Copyright © 2006–2015. All rights reserved.