首页 > TAG信息列表 > distField

属性复制和转换

属性复制和转换 public static <X> X toBean(Object src, Class<X> t) { if (t == null) { return null; } X instance = null; try { instance = t.newInstance(); if (src != null) { copyProperties(src, instan