上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 42 下一页
摘要: package com.test; public class MyThread implements Runnable {//extends Thread 实现Runnable 或继承Thread @Override public void run() { System.out.println("r 阅读全文
posted @ 2021-08-30 11:05 howhy 阅读(42) 评论(0) 推荐(0)
摘要: package com.test; import com.czbsit.web.result.CodeMsg; import java.util.ArrayList; import java.util.List; public class Response<T> { private int code 阅读全文
posted @ 2021-08-25 12:04 howhy 阅读(66) 评论(0) 推荐(0)
摘要: class MyClass { public static void main(String[] args){ //整形 byte(1) short(2) int(4) long(8) //浮点 float(4) double(8) //字符 char(2) //布尔 boolean(1) //变量 阅读全文
posted @ 2021-08-18 16:20 howhy 阅读(79) 评论(0) 推荐(0)
摘要: git init 初始化一个git仓库 git add 文件名 ##将文件提交到暂存区(git status 文件从红色变成绿色) git commit -m "注释" ##将文件提交到git仓库 git checkout 文件名 (将git status显示红色的文件恢复到改之前的文件(未执行gi 阅读全文
posted @ 2021-08-16 16:14 howhy 阅读(49) 评论(0) 推荐(0)
摘要: 进程:是操作系统进行资源分配的最小单元 线程:是操作系统进行任务分配的最小单元, synchronized 加锁,volatile 1、保证变量在线程可见性 ,适合一个线程写 多个线程读的情况 2、不能保证线程原子性 3、防止重排序 java的加锁就是在对象的markword头文件中记录一个锁状态, 阅读全文
posted @ 2021-08-02 18:20 howhy 阅读(44) 评论(0) 推荐(0)
摘要: mybatis 文档:https://mybatis.org/mybatis-3/zh/ ##maven:pom.xml <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <vers 阅读全文
posted @ 2021-07-07 10:50 howhy 阅读(71) 评论(0) 推荐(0)
摘要: 1、创建一个new SpringApplication() 2、解析XMl文件 3、创建一个BeanFactory 4、加载Bean定义BeanDefinitionMap 5、调用bean工厂的后置处理器 可以修改beandefinition 6、开始预生产bean 判断是不是接口 单例 懒加载 阅读全文
posted @ 2021-07-01 14:37 howhy 阅读(58) 评论(0) 推荐(0)
摘要: const nums=[1,3,5,11] let [a,b]=nums const user={name:"howhy",age:22} let {name,age}=user let arr1=[1,3,5] let arr2=[...arr1,2,4,6] 阅读全文
posted @ 2021-03-01 16:39 howhy 阅读(72) 评论(0) 推荐(0)
摘要: npm node package manager 安装nodejs时自带的 npm help install(list) npm config get|set registry npm install jquery@3.0.0 -g npm update jquery npm list -g npm 阅读全文
posted @ 2021-02-26 15:12 howhy 阅读(65) 评论(0) 推荐(0)
摘要: 规范url:https://standardjs.com/readme-zhcn.html 定义变量 等号两边有空格 定义变量和方法必须使用 定义方法 方法名与括号 括号与大括号中间都要有空格 定义字符串用单引号 关键字 if 与括号间要有空格 用 代替== 逗号后台要有空格 不允许有多行空行 阅读全文
posted @ 2021-01-06 18:23 howhy 阅读(172) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 42 下一页