Skip to content

Commit

Permalink
1.修改测试数据
Browse files Browse the repository at this point in the history
  • Loading branch information
lwk123 committed Aug 2, 2017
1 parent dbe939e commit e9ae200
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/main/java/ProtostuffTest1/ProtostuffTest1/Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,31 @@ public class Test {
public static void main(String[] args) throws IOException, ClassNotFoundException {

Student student = new Student();
student.setName("lance");
student.setAge(28);
student.setStudentNo("2011070122");
student.setSchoolName("BJUT");
student.setName("luocheng");
student.setAge(24);
student.setStudentNo("2017080222");
student.setSchoolName("yangzi");

Student1 student1 = new Student1();

student1.setName("lance");
student1.setAge(28);
student1.setStudentNo("2011070122");
student1.setSchoolName("BJUT");
student1.setName("luocheng");
student1.setAge(24);
student1.setStudentNo("2017080222");
student1.setSchoolName("yangzi");

Student2 student2 = new Student2();

student2.setName("lance");
student2.setAge(28);
student2.setStudentNo("2011070122");
student2.setSchoolName("BJUT");
student2.setName("luocheng");
student2.setAge(24);
student2.setStudentNo("2017080222");
student2.setSchoolName("yangzi");

Student3 student3 = new Student3();

student3.setName("lance");
student3.setAge(28);
student3.setStudentNo("2011070122");
student3.setSchoolName("BJUT");
student3.setName("luocheng");
student3.setAge(24);
student3.setStudentNo("2017080222");
student3.setSchoolName("yangzi");


//使用开源的Protostuff序列化和反序列化
Expand Down

0 comments on commit e9ae200

Please sign in to comment.