public String toString(){
  StringBuffer result=new StringBuffer();
  result.append("[");
  int s1=sizes.size();
  for (int i=0; i < s1; ++i) {
    int s2=sizes.get(i);
    result.append("[");
    for (int j=0; j < s2; ++j) {
      result.append(vector[i][j]);
      if (j + 1 < s2)       result.append(", ");
    }
    result.append("]");
    if (i + 1 < s1)     result.append(",\n ");
  }
  result.append("]");
  return result.toString();
}

public String toString ( ) { StringBuffer result = new StringBuffer ( ) ; result . append ( "[" ) ; int s1 = sizes . size ( ) ; for ( int i = 0 ; i < s1 ; ++ i ) { int s2 = sizes . get ( i ) ; result . append ( "[" ) ; for ( int j = 0 ; j < s2 ; ++ j ) { result . append ( vector [ i ] [ j ] ) ; if ( j + 1 < s2 ) result . append ( ", " ) ; } result . append ( "]" ) ; if ( i + 1 < s1 ) result . append ( ",\n " ) ; } result . append ( "]" ) ; return result . toString ( ) ; }
returns a text representation of this vector .
