comparison src/luan/LuanJavaFunction.java @ 113:8c706d6eb5dc

add binary type git-svn-id: https://luan-java.googlecode.com/svn/trunk@114 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Mon, 26 May 2014 05:27:26 +0000
parents 2428ecfed375
children eacf6ce1b47d
comparison
equal deleted inserted replaced
112:f5af13062b10 113:8c706d6eb5dc
193 return RTN_NUMBER_ARRAY; 193 return RTN_NUMBER_ARRAY;
194 return RTN_SAME; 194 return RTN_SAME;
195 } 195 }
196 196
197 private static boolean isNumber(Class<?> rtnType) { 197 private static boolean isNumber(Class<?> rtnType) {
198 return rtnType == Byte.TYPE 198 return rtnType == Short.TYPE
199 || rtnType == Short.TYPE
200 || rtnType == Integer.TYPE 199 || rtnType == Integer.TYPE
201 || rtnType == Long.TYPE 200 || rtnType == Long.TYPE
202 || rtnType == Float.TYPE 201 || rtnType == Float.TYPE
203 || rtnType == Double.TYPE 202 || rtnType == Double.TYPE
204 ; 203 ;