##方法一 public void setCreated_t(int created_t) { this.created_t = created_t; }
##方法二 public void setCreated_t(Integer created_t) { this.created_t = created_t; }
当将方法一的int类型修改成方法二的Integer类型,而后在下面的java 版本下,传入 int 类型的时候会报错。提示找不到方法。NoSuchMethodjava
Java(TM) SE Runtime Environment (build 1.6.0.15-jinteg_20_jul_2012_02_27-b00)
Java HotSpot(TM) Server VM (build 20.8-b03-jre1.6.0.15-rc1b1, mixed mode)ui