随笔分类 -  java

摘要:https://zhuanlan.zhihu.com/p/58387104 阅读全文
posted @ 2022-05-25 11:04 八英里 阅读(14) 评论(0) 推荐(0)
摘要:类的成员分两类,静态成员(static member)和实例成员(instance menber),静态成员属于类,实例成员则属于对象,即类的实例。 我们知道,静态字段和静态方法的调用都是通过类来调用的,静态方法不会对特定的实例操作,只能调用调用类中的其他属性和静态方法,不能调用类中的非静态属性和非 阅读全文
posted @ 2022-05-09 21:06 八英里 阅读(741) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/bieliwotaijin/article/details/106607934 https://www.cnblogs.com/itiaotiao/p/12651573.html 阅读全文
posted @ 2022-05-06 21:09 八英里 阅读(19) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/Shockang/article/details/118559080 https://blog.csdn.net/qq_39241239/article/details/87030142 阅读全文
posted @ 2022-05-05 16:03 八英里 阅读(19) 评论(0) 推荐(0)
摘要:http://concurrent.redspider.group/RedSpider.html 阅读全文
posted @ 2022-05-05 14:01 八英里 阅读(16) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_31865983/article/details/106137777 阅读全文
posted @ 2022-05-05 11:14 八英里 阅读(24) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/weixin_38106322/article/details/106493630 阅读全文
posted @ 2022-05-05 10:57 八英里 阅读(19) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_38306425/article/details/109352954 阅读全文
posted @ 2022-05-05 10:24 八英里 阅读(22) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/u022812849/article/details/114698692 https://blog.csdn.net/qq_38306425/article/details/109352954 阅读全文
posted @ 2022-05-05 10:19 八英里 阅读(43) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq920447939/article/details/80198438/ 阅读全文
posted @ 2022-05-05 09:52 八英里 阅读(52) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-04-29 16:57 八英里 阅读(30) 评论(0) 推荐(0)
摘要:前言 我们在做WS服务器的时候,如果我们在接收消息的方法中对所有用户群发消息的时候,如果不用线程池发送,那么就相当于在该线程中串行的发送消息,如果用户较多,就会占用大量时间,这时就需要使用线程池。 但是直接使用线程池的话,如果同时有3个连接,我们创建的线程池的线程数量是5,那么在使用中就会占用15个 阅读全文
posted @ 2022-04-29 15:08 八英里 阅读(2045) 评论(0) 推荐(0)
摘要:https://baijiahao.baidu.com/s?id=1726865192597493129&wfr=spider&for=pc 阅读全文
posted @ 2022-04-29 11:31 八英里 阅读(23) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/u013905744/article/details/93643487 阅读全文
posted @ 2022-04-25 17:02 八英里 阅读(44) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_35634181/article/details/104473308?spm=1001.2101.3001.6650.3&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EC 阅读全文
posted @ 2022-04-24 16:59 八英里 阅读(82) 评论(0) 推荐(0)
摘要:FinancePaymentEditParam param= (FinancePaymentEditParam) editParam.newInstance(); 阅读全文
posted @ 2022-04-22 09:50 八英里 阅读(39) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/sunnyzyq/article/details/103527380 阅读全文
posted @ 2022-04-21 11:26 八英里 阅读(18) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq360694660/article/details/82877222 这个与Bean的生命周期联系起来,先实例化《constructors》,填充属性<autowire>。再执init-method属性的。postconstruct修饰的 阅读全文
posted @ 2022-04-21 09:32 八英里 阅读(27) 评论(0) 推荐(0)
摘要:1、导入的包: import org.springframework.web.context.request.RequestContextHolder; import org.springframework.web.context.request.ServletRequestAttributes; 阅读全文
posted @ 2022-04-18 15:57 八英里 阅读(2117) 评论(0) 推荐(0)
摘要:BladeUser bladeUser = new BladeUser(); bladeUser.setUserId("1"); bladeUser.setPhone("2"); HttpServletRequest request =((ServletRequestAttributes) Requ 阅读全文
posted @ 2022-04-18 14:59 八英里 阅读(160) 评论(0) 推荐(0)