摘要: 1.Collections排序1)基本类型的元素 List<Integer> demo_list = new ArrayList<>(); Collections.sort(demo_list ); 2)实体类元素的排序:通过某个成员变量的值做比较 方式一:Collections.sort(demo 阅读全文
posted @ 2021-08-04 16:13 星空物语之韵 阅读(769) 评论(0) 推荐(0) 编辑
摘要: 1.在idea 控制台下 执行命令: git config --global --replace-all user.name "你需要改的名字" 如下图: 阅读全文
posted @ 2021-08-04 15:02 星空物语之韵 阅读(2048) 评论(0) 推荐(0) 编辑
摘要: sql类型 --添加字段db.library_category.update({},{$set:{code:""}},{multi:1})--添加自增序列集合 db.getCollection("sequence").drop();db.createCollection("sequence"); / 阅读全文
posted @ 2021-08-04 14:53 星空物语之韵 阅读(1575) 评论(0) 推荐(0) 编辑