一:普通方式、 1、keySet(): Map<String, Object> map = new HashMap<>(); map.put("name", "张三"); map.put("age", 20); for (String key : map.keySet()) { String val ...
分类:
编程语言 时间:
2021-06-28 20:40:37
阅读次数:
0
分包:公共的模型、接口、异常都放在此处(springboot-interface-api) 将springboot-meeting-service、springboot-user-service系统pojo和service提取到springboot-interface-api 1.分包——新建普通m ...
分类:
编程语言 时间:
2021-06-28 20:31:31
阅读次数:
0
去掉重复数据的方法: 第一种:distinct 根据单个字段去重,能精确去重; 作用在多个字段时,只有当这几个字段的完全相同时,才能去重; 关键字distinct只能放在SQL语句中的第一个,才会起作用 上图举例说明:图中student_name 为 test的同学有两位,不同的是班级 首先,单个字 ...
分类:
数据库 时间:
2021-06-28 20:01:04
阅读次数:
0
代码演示 没什么可说的直接看代码 <?php namespace app\controller; class Category { //模拟假数据 protected static function arr() { $rows = [ [ 'id' => '1', 'name' => '一级菜单', ...
分类:
Web程序 时间:
2021-06-28 19:52:45
阅读次数:
0
Java面向对象复习 1.类像一个模板。 2.好的编程习惯会让代码看上去更清爽,易读,容易维护 比如类的第一个字母大写。 3.属性的类型可以是基本类型,比如int整数,float 浮点数 也可以是类类型,比如String 字符串。 4.属性名称一般来说,都是小写,比如name。 如果有多个单词组成, ...
分类:
编程语言 时间:
2021-06-28 19:50:59
阅读次数:
0
<?xml version="1.0" encoding="UTF-8"?><configuration> <system.webServer> <rewrite> <rules> <rule name="Imported Rule 1"> <match url="^index.html" /> < ...
分类:
Web程序 时间:
2021-06-28 19:43:32
阅读次数:
0
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi ...
分类:
其他好文 时间:
2021-06-28 19:31:38
阅读次数:
0
Java基础-数字与字符串 装箱与拆箱 1.所有的基本类型,都有对应的类类型,比如int对应的类是Integer,这种类就叫做封装类。 2.数字封装类有Byte,Short,Long,Float,Double...这些类都是抽象类Number的子类,Number类属于java.lang包。 3.基本 ...
分类:
编程语言 时间:
2021-06-28 19:30:44
阅读次数:
0
20193312 2021-6 《Python程序设计》综合实验报告 课程:《Python程序设计》 班级: 1933 姓名: 朱文昱 学号:20193312 实验教师:王志强 实验日期:2020年6月24日 必修/选修: 公选课 1.实验内容 内容: 贪吃蛇小游戏制作 要求: 能用电脑的方向键控制 ...
分类:
编程语言 时间:
2021-06-28 19:13:43
阅读次数:
0
Behind the scenes in the computer's memory, color is always talked about as a series of 24 bits of information for each pixel. In an image, the color ...
分类:
其他好文 时间:
2021-06-28 19:08:20
阅读次数:
0