public boolean valueEquals ( ConcatVectorTable other , double tolerance ) { if ( ! Arrays . equals ( other . getDimensions ( ) , getDimensions ( ) ) ) return false ; for ( int [ ] assignment : this ) { if ( ! getAssignmentValue ( assignment ) . get ( ) . valueEquals ( other . getAssignmentValue ( assignment ) . get ( ) , tolerance ) ) { return false ; } } return true ; }
Deep comparison for equality of value plus tolerance for every concatvector in the table plus dimensional arrangement . This is mostly useful for testing .