test_class.file: dddlib-excel/src/test/java/org/dayatang/excel/ExcelUtilsTest.java
test_class.identifier: ExcelUtilsTest
test_case.body: @Test
  	public void testConvertColumnNameToIndex() {
  		assertEquals(0, ExcelUtils.convertColumnNameToIndex("A"));
  		assertEquals(25, ExcelUtils.convertColumnNameToIndex("Z"));
  		assertEquals(26, ExcelUtils.convertColumnNameToIndex("AA"));
  		assertEquals(52, ExcelUtils.convertColumnNameToIndex("BA"));
  		assertEquals(26 * 26 + 2 * 26 + 1, ExcelUtils.convertColumnNameToIndex("ABB"));
  	}
test_case.class_method_signature: ExcelUtilsTest.testConvertColumnNameToIndex()
test_case.full_signature: @Test public void testConvertColumnNameToIndex()
test_case.identifier: testConvertColumnNameToIndex
test_case.invocations: assertEquals convertColumnNameToIndex assertEquals convertColumnNameToIndex assertEquals convertColumnNameToIndex assertEquals convertColumnNameToIndex assertEquals convertColumnNameToIndex
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testConvertColumnNameToIndex()
focal_class.file: dddlib-excel/src/main/java/org/dayatang/excel/ExcelUtils.java
focal_class.identifier: ExcelUtils
focal_class.class_method_signature: ExcelUtils.ExcelUtils()
focal_class.full_signature: private  ExcelUtils()
focal_class.identifier: ExcelUtils
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ExcelUtils()
focal_class.class_method_signature: ExcelUtils.convertColumnNameToIndex(String columnName)
focal_class.full_signature: public static int convertColumnNameToIndex(String columnName)
focal_class.identifier: convertColumnNameToIndex
focal_class.modifiers: public static
focal_class.parameters: (String columnName)
focal_class.return: int
focal_class.signature: int convertColumnNameToIndex(String columnName)
focal_class.class_method_signature: ExcelUtils.letterToInt(int letter)
focal_class.full_signature: private static int letterToInt(int letter)
focal_class.identifier: letterToInt
focal_class.modifiers: private static
focal_class.parameters: (int letter)
focal_class.return: int
focal_class.signature: int letterToInt(int letter)
focal_class.class_method_signature: ExcelUtils.getDouble(Object data)
focal_class.full_signature: public static Double getDouble(Object data)
focal_class.identifier: getDouble
focal_class.modifiers: public static
focal_class.parameters: (Object data)
focal_class.return: Double
focal_class.signature: Double getDouble(Object data)
focal_class.class_method_signature: ExcelUtils.getInt(Object data)
focal_class.full_signature: public static Integer getInt(Object data)
focal_class.identifier: getInt
focal_class.modifiers: public static
focal_class.parameters: (Object data)
focal_class.return: Integer
focal_class.signature: Integer getInt(Object data)
focal_class.class_method_signature: ExcelUtils.getLong(Object data)
focal_class.full_signature: public static Long getLong(Object data)
focal_class.identifier: getLong
focal_class.modifiers: public static
focal_class.parameters: (Object data)
focal_class.return: Long
focal_class.signature: Long getLong(Object data)
focal_class.class_method_signature: ExcelUtils.getBoolean(Object data)
focal_class.full_signature: public static Boolean getBoolean(Object data)
focal_class.identifier: getBoolean
focal_class.modifiers: public static
focal_class.parameters: (Object data)
focal_class.return: Boolean
focal_class.signature: Boolean getBoolean(Object data)
focal_class.class_method_signature: ExcelUtils.getString(Object data)
focal_class.full_signature: public static String getString(Object data)
focal_class.identifier: getString
focal_class.modifiers: public static
focal_class.parameters: (Object data)
focal_class.return: String
focal_class.signature: String getString(Object data)
focal_class.class_method_signature: ExcelUtils.getDate(Object data, Version version, boolean isDate1904)
focal_class.full_signature: public static Date getDate(Object data, Version version, boolean isDate1904)
focal_class.identifier: getDate
focal_class.modifiers: public static
focal_class.parameters: (Object data, Version version, boolean isDate1904)
focal_class.return: Date
focal_class.signature: Date getDate(Object data, Version version, boolean isDate1904)
focal_method.body: public static int convertColumnNameToIndex(String columnName) {
  		Assert.notBlank(columnName);
  		String theColumn = columnName.toUpperCase();
  		int length = theColumn.length();
  		int result = letterToInt(theColumn.charAt(length - 1));
  		if (length == 1) {
  			return result;
  		}
  		for (int i = 1; i < length; i++) {
  			int letter = theColumn.charAt(length - i - 1);
  			result = (letterToInt(letter) + 1) * ((int) Math.pow(26, i)) + result;
  		}
  		return result;
  	}
focal_method.class_method_signature: ExcelUtils.convertColumnNameToIndex(String columnName)
focal_method.full_signature: public static int convertColumnNameToIndex(String columnName)
focal_method.identifier: convertColumnNameToIndex
focal_method.invocations: notBlank toUpperCase length letterToInt charAt charAt letterToInt pow
focal_method.modifiers: public static
focal_method.parameters: (String columnName)
focal_method.return: int
focal_method.signature: int convertColumnNameToIndex(String columnName)