摘要: //将origin属性注入到destination中 public void mergeObject(T origin, T destination) { if (origin == null || destination == null) return; if (!origin.getClass().equals(destination.getClass())) return; Field[] fields = origin.getClass().getDeclaredFields(); for (int i = 0; i < fields.length; i++) { ... 阅读全文
posted @ 2014-02-14 16:54 剑握在手 阅读(12276) 评论(6) 推荐(0) 编辑
返回顶部↑