예제 #1
0
 @SuppressWarnings("unchecked")
 public <PROPERTY> PROPERTY analyzeNumber(Class<PROPERTY> javaType) {
   final Object obj = getColumnValue();
   return (PROPERTY) DfTypeUtil.toNumber(obj, javaType);
 }
예제 #2
0
 @SuppressWarnings("unchecked")
 protected static <NUMBER extends Number> NUMBER ctn(
     Object value, Class<NUMBER> type) { // convertToNumber
   return (NUMBER) DfTypeUtil.toNumber(value, type);
 }
 @SuppressWarnings("unchecked")
 protected <NUMBER extends Number> NUMBER toNumber(Object obj, Class<NUMBER> type) {
   return (NUMBER) DfTypeUtil.toNumber(obj, type);
 }