test_class.file: ujmp-core/src/test/java/org/ujmp/core/stringmatrix/impl/TestDefaultDenseStringMatrix2D.java
test_class.identifier: TestDefaultDenseStringMatrix2D
test_class.superclass: extends AbstractMatrixTest
test_case.body: @Test
  	public void testStringTranspose() {
  		Matrix m1 = new DefaultDenseStringMatrix2D(2, 1);
  		m1.setAsString("string1", 0, 0);
  		m1.setAsString("string2", 1, 0);
  		Matrix m2 = m1.transpose();
  		assertEquals("string1", m2.getAsString(0, 0));
  		assertEquals("string2", m2.getAsString(0, 1));
  	}
test_case.class_method_signature: TestDefaultDenseStringMatrix2D.testStringTranspose()
test_case.full_signature: @Test public void testStringTranspose()
test_case.identifier: testStringTranspose
test_case.invocations: setAsString setAsString transpose assertEquals getAsString assertEquals getAsString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testStringTranspose()
focal_class.declarator: serialVersionUID = 1643931435178952984L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = 1643931435178952984L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: values
focal_class.modifier: private final
focal_class.original_string: private final String[] values;
focal_class.type: String[]
focal_class.var_name: values
focal_class.declarator: rows
focal_class.modifier: private final
focal_class.original_string: private final int rows;
focal_class.type: int
focal_class.var_name: rows
focal_class.declarator: cols
focal_class.modifier: private final
focal_class.original_string: private final int cols;
focal_class.type: int
focal_class.var_name: cols
focal_class.file: ujmp-core/src/main/java/org/ujmp/core/stringmatrix/impl/DefaultDenseStringMatrix2D.java
focal_class.identifier: DefaultDenseStringMatrix2D
focal_class.interfaces: implements
  		HasStringArray
focal_class.class_method_signature: DefaultDenseStringMatrix2D.DefaultDenseStringMatrix2D(Matrix m)
focal_class.full_signature: public  DefaultDenseStringMatrix2D(Matrix m)
focal_class.identifier: DefaultDenseStringMatrix2D
focal_class.modifiers: public
focal_class.parameters: (Matrix m)
focal_class.signature:  DefaultDenseStringMatrix2D(Matrix m)
focal_class.class_method_signature: DefaultDenseStringMatrix2D.DefaultDenseStringMatrix2D(int rows, int columns)
focal_class.full_signature: public  DefaultDenseStringMatrix2D(int rows, int columns)
focal_class.identifier: DefaultDenseStringMatrix2D
focal_class.modifiers: public
focal_class.parameters: (int rows, int columns)
focal_class.signature:  DefaultDenseStringMatrix2D(int rows, int columns)
focal_class.class_method_signature: DefaultDenseStringMatrix2D.DefaultDenseStringMatrix2D(String[] v, int rows, int cols)
focal_class.full_signature: public  DefaultDenseStringMatrix2D(String[] v, int rows, int cols)
focal_class.identifier: DefaultDenseStringMatrix2D
focal_class.modifiers: public
focal_class.parameters: (String[] v, int rows, int cols)
focal_class.signature:  DefaultDenseStringMatrix2D(String[] v, int rows, int cols)
focal_class.class_method_signature: DefaultDenseStringMatrix2D.getString(long row, long column)
focal_class.full_signature: public String getString(long row, long column)
focal_class.identifier: getString
focal_class.modifiers: public
focal_class.parameters: (long row, long column)
focal_class.return: String
focal_class.signature: String getString(long row, long column)
focal_class.class_method_signature: DefaultDenseStringMatrix2D.setString(String value, long row, long column)
focal_class.full_signature: public void setString(String value, long row, long column)
focal_class.identifier: setString
focal_class.modifiers: public
focal_class.parameters: (String value, long row, long column)
focal_class.return: void
focal_class.signature: void setString(String value, long row, long column)
focal_class.class_method_signature: DefaultDenseStringMatrix2D.getString(int row, int column)
focal_class.full_signature: public String getString(int row, int column)
focal_class.identifier: getString
focal_class.modifiers: public
focal_class.parameters: (int row, int column)
focal_class.return: String
focal_class.signature: String getString(int row, int column)
focal_class.class_method_signature: DefaultDenseStringMatrix2D.setString(String value, int row, int column)
focal_class.full_signature: public void setString(String value, int row, int column)
focal_class.identifier: setString
focal_class.modifiers: public
focal_class.parameters: (String value, int row, int column)
focal_class.return: void
focal_class.signature: void setString(String value, int row, int column)
focal_class.class_method_signature: DefaultDenseStringMatrix2D.copy()
focal_class.full_signature: public final Matrix copy()
focal_class.identifier: copy
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: Matrix
focal_class.signature: Matrix copy()
focal_class.class_method_signature: DefaultDenseStringMatrix2D.transpose()
focal_class.full_signature: public final Matrix transpose()
focal_class.identifier: transpose
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: Matrix
focal_class.signature: Matrix transpose()
focal_class.class_method_signature: DefaultDenseStringMatrix2D.getStringArray()
focal_class.full_signature: public String[] getStringArray()
focal_class.identifier: getStringArray
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String[]
focal_class.signature: String[] getStringArray()
focal_class.superclass: extends AbstractDenseStringMatrix2D
focal_method.body: public final Matrix transpose() {
  		final String[] result = new String[cols * rows];
  		for (int c = rows; --c != -1;) {
  			for (int r = cols; --r != -1;) {
  				result[c * cols + r] = values[r * rows + c];
  			}
  		}
  		return new DefaultDenseStringMatrix2D(result, cols, rows);
  	}
focal_method.class_method_signature: DefaultDenseStringMatrix2D.transpose()
focal_method.full_signature: public final Matrix transpose()
focal_method.identifier: transpose
focal_method.modifiers: public final
focal_method.parameters: ()
focal_method.return: Matrix
focal_method.signature: Matrix transpose()