test_class.file: taverna-spreadsheet-import-activity/src/test/java/org/apache/taverna/activities/spreadsheet/SpreadsheetUtilsTest.java
test_class.identifier: SpreadsheetUtilsTest
test_case.body: @Test
  	public void testGetColumnIndex() {
  		assertEquals(0, SpreadsheetUtils.getColumnIndex("A"));
  		assertEquals(4, SpreadsheetUtils.getColumnIndex("E"));
  		assertEquals(25, SpreadsheetUtils.getColumnIndex("Z"));
  		assertEquals(26, SpreadsheetUtils.getColumnIndex("AA"));
  		assertEquals(457833, SpreadsheetUtils.getColumnIndex("ZAFZ"));
  	}
test_case.class_method_signature: SpreadsheetUtilsTest.testGetColumnIndex()
test_case.full_signature: @Test public void testGetColumnIndex()
test_case.identifier: testGetColumnIndex
test_case.invocations: assertEquals getColumnIndex assertEquals getColumnIndex assertEquals getColumnIndex assertEquals getColumnIndex assertEquals getColumnIndex
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetColumnIndex()
focal_class.file: taverna-spreadsheet-import-activity/src/main/java/org/apache/taverna/activities/spreadsheet/SpreadsheetUtils.java
focal_class.identifier: SpreadsheetUtils
focal_class.class_method_signature: SpreadsheetUtils.getColumnIndex(String column)
focal_class.full_signature: public static int getColumnIndex(String column)
focal_class.identifier: getColumnIndex
focal_class.modifiers: public static
focal_class.parameters: (String column)
focal_class.return: int
focal_class.signature: int getColumnIndex(String column)
focal_class.class_method_signature: SpreadsheetUtils.getColumnLabel(int column)
focal_class.full_signature: public static String getColumnLabel(int column)
focal_class.identifier: getColumnLabel
focal_class.modifiers: public static
focal_class.parameters: (int column)
focal_class.return: String
focal_class.signature: String getColumnLabel(int column)
focal_class.class_method_signature: SpreadsheetUtils.getPortName(String columnLabel, JsonNode jsonNode)
focal_class.full_signature: public static String getPortName(String columnLabel, JsonNode jsonNode)
focal_class.identifier: getPortName
focal_class.modifiers: public static
focal_class.parameters: (String columnLabel, JsonNode jsonNode)
focal_class.return: String
focal_class.signature: String getPortName(String columnLabel, JsonNode jsonNode)
focal_class.class_method_signature: SpreadsheetUtils.getPortName(int columnIndex, JsonNode jsonNode)
focal_class.full_signature: public static String getPortName(int columnIndex, JsonNode jsonNode)
focal_class.identifier: getPortName
focal_class.modifiers: public static
focal_class.parameters: (int columnIndex, JsonNode jsonNode)
focal_class.return: String
focal_class.signature: String getPortName(int columnIndex, JsonNode jsonNode)
focal_class.class_method_signature: SpreadsheetUtils.getRange(JsonNode jsonNode)
focal_class.full_signature: public static Range getRange(JsonNode jsonNode)
focal_class.identifier: getRange
focal_class.modifiers: public static
focal_class.parameters: (JsonNode jsonNode)
focal_class.return: Range
focal_class.signature: Range getRange(JsonNode jsonNode)
focal_method.body: public static int getColumnIndex(String column) {
  		int result = -1;
  		char a = 'A' - 1;
  		char[] chars = column.toCharArray();
  		for (int i = 0; i < chars.length; i++) {
  			int pos = (chars[i] - a);
  			result += pos * Math.pow(26, chars.length - i - 1);
  		}
  		return result;
  	}
focal_method.class_method_signature: SpreadsheetUtils.getColumnIndex(String column)
focal_method.full_signature: public static int getColumnIndex(String column)
focal_method.identifier: getColumnIndex
focal_method.invocations: toCharArray pow
focal_method.modifiers: public static
focal_method.parameters: (String column)
focal_method.return: int
focal_method.signature: int getColumnIndex(String column)