public static boolean isNumber ( Type t ) { for ( int i = 0 ; i < NUMERICAL_TYPES . length ; i ++ ) { if ( NUMERICAL_TYPES [ i ] == t ) { return true ; } } return false ; }
Test if type is numeric . A type is considered numeric if is a Java standard class representing a number .