JAVASE基础
半仙code
各位老铁 如果对我写的一些博文有问题的可以加我QQ:1023047818 共同学习 fighting!!!
展开
-
探究void方法真没有返回值么?
代码献上:package Demo01;public class Demo2 { public static void main(String[] args) { Demo2 demo2=new Demo2(); System.out.println(); } public void kk() { return ; }}void方法实际上可以又返回值,但是这...原创 2018-08-23 16:37:07 · 7316 阅读 · 0 评论 -
根据List<Map> 中的某个字段排序
Collections.sort(list1, new Comparator<Map>() { public int compare(Map o1, Map o2) { if ((o1.get("e_code") == null && o2.get("e_code") == null) || ("".equals(o1.get...转载 2018-10-23 10:20:43 · 1089 阅读 · 0 评论