DatabaseDataTypesUtils { public static boolean isFloatNumber(String javaType) { if(javaType.endsWith("Float") || javaType.endsWith("Double") || javaType.endsWith("BigDecimal") || javaType.endsWith("BigInteger")) { return true; } if(javaType.endsWith("float") || javaType.endsWith("double") || javaType.endsWith("BigDecimal") || javaType.endsWith("BigInteger")) { return true; } return false; }  static boolean isFloatNumber(String javaType); static boolean isIntegerNumber(String javaType); static boolean isDate(String javaType); static boolean isString(String javaType); static String getPreferredJavaType(int sqlType, int size,
			int decimalDigits);  }
@Test public void test_isFloatNumber() throws Throwable{ String javaType = "java.lang.Float"; boolean result = databaseDataTypesUtils.isFloatNumber(javaType ); assertTrue(result); }