示例#1
0
 private static boolean isInteger(Builtin builtin) {
   return (builtin.equals(Builtin.UI1)
       || builtin.equals(Builtin.UI2)
       || builtin.equals(Builtin.I1)
       || builtin.equals(Builtin.I2)
       || builtin.equals(Builtin.I4)
       || builtin.equals(Builtin.INT));
 }
示例#2
0
 private static boolean isBoolean(Builtin builtin) {
   return (builtin.equals(Builtin.BOOLEAN));
 }
示例#3
0
 private static boolean isDate(Builtin builtin) {
   return (builtin.equals(Builtin.DATE)
       || builtin.equals(Builtin.DATETIME)
       || builtin.equals(Builtin.DATETIME_TZ));
 }
示例#4
0
 private static boolean isString(Builtin builtin) {
   return (builtin.equals(Builtin.STRING)
       || builtin.equals(Builtin.URI)
       || builtin.equals(Builtin.UUID));
 }
示例#5
0
 private static boolean isCharacter(Builtin builtin) {
   return (builtin.equals(Builtin.CHAR));
 }
示例#6
0
 private static boolean isDouble(Builtin builtin) {
   return (builtin.equals(Builtin.R8)
       || builtin.equals(Builtin.NUMBER)
       || builtin.equals(Builtin.FIXED144));
 }
示例#7
0
 private static boolean isFloat(Builtin builtin) {
   return (builtin.equals(Builtin.R4) || builtin.equals(Builtin.FLOAT));
 }
示例#8
0
 private static boolean isLong(Builtin builtin) {
   return (builtin.equals(Builtin.UI4)
       || builtin.equals(Builtin.TIME)
       || builtin.equals(Builtin.TIME_TZ));
 }
示例#9
0
 private static boolean isBase64(Builtin builtin) {
   return (builtin.equals(Builtin.BIN_BASE64));
 }
示例#10
0
 private static boolean isByte(Builtin builtin) {
   return (builtin.equals(Builtin.BIN_HEX));
 }