Class c1 = param.getResult().getClass();
Class c2 = Class.forName(c1.getName());
Class c3 = XxxYyy.class;
System.out.println(c1.hashCode()); // 1399580876
System.out.println(c2.hashCode()); // 1383896400
System.out.println(c3.hashCode()); // 1383896400
(param.getResult() instanceof XxxYyy) // is false
添加回答
举报
0/150
提交
取消