常见Java类型有许多内置的类型别名。注意,它们都是不区分大小写的,由于重载名称而对原语进行特殊处理。下面给出对应关系表:
别名 | Java类型 |
_byte | byte |
_long | long |
_short | short |
_int | int |
_integer | int |
_double | double |
_float | float |
_boolean | boolean |
string | String |
byte | Byte |
long | Long |
short | Short |
int | Integer |
integer | Integer |
double | Double |
float | Float |
boolean | Boolean |
date | Date |
decimal | BigDecimal |
bigdecimal | BigDecimal |
object | Object |
map | Map |
hashmap | HashMap |
list | List |
arraylist | ArrayList |
collection | Collection |
iterator | Iterator |
标签:Java,int,float,别名,boolean,long,MyBatis From: https://www.cnblogs.com/qianmo123/p/17263793.html