2018年3月30日

java 判断对象的所有属性是否为空解决方案

摘要: public static boolean allfieldIsNUll(Object o){ try{ for(Field field:o.getClass().getDeclaredFields()){ field.setAccessible(true);//把私有属性公有化 Object ob 阅读全文

posted @ 2018-03-30 13:44 chengjunde 阅读(1845) 评论(0) 推荐(0) 编辑

导航