code: public String contentToString()
      {
          StringBuffer sb = new StringBuffer();
          sb.append(name + " = \n");
          
          for ( IndexMN i : indexSet )
          {
              sb.append("\t(");
              sb.append(i.m + "," + i.n);
              sb.append(")");
              sb.append("\t" + getReal(i.m, i.n) );
              if ( isComplex() )
              {
                  sb.append("+" + getImaginary(i.m, i.n) );
              }
              sb.append("\n");
              
          }
          
          return sb.toString();
      }
docs: /* (non-Javadoc)
  @see com.paradigmdesigner.matlab.types.MLArray#contentToString()