2022年11月22日

idea开启多线程调试模式

摘要: 在一些开发场景中,需要开启多线程调试模式,基于idea,代码如下 package 线程; /** * @author yanjiaqing * @date 2022/11/22 **/ public class Task1 implements Runnable{ @Override public 阅读全文

posted @ 2022-11-22 17:23 何苦-> 阅读(756) 评论(0) 推荐(0)

@Autowired和@Resource区别

摘要: autowired和resource是什么? @Autowired是Spring中的注解 import org.springframework.beans.factory.annotation.Autowired; @Resource是java提供的注解 import javax.annotatio 阅读全文

posted @ 2022-11-22 14:24 何苦-> 阅读(41) 评论(0) 推荐(0)

导航