上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 89 下一页

2024年8月1日

hashCode方法 和 equals()方法

摘要: package com.coding.spring.mvc; import java.util.HashSet; public class User { private String name; public User(String name) { this.name = name; } @Over 阅读全文

posted @ 2024-08-01 09:55 ~码铃薯~ 阅读(13) 评论(0) 推荐(0)

2024年7月31日

Integer的比较

摘要: public static void main(String[] args) { Integer i1 = 127; Integer i2 = Integer.valueOf(127); // integercache Integer i3 = new Integer(127); System.ou 阅读全文

posted @ 2024-07-31 14:53 ~码铃薯~ 阅读(16) 评论(0) 推荐(0)

2024年7月28日

深入剖析循环依赖产生与解决的原理前戏

摘要: 深入剖析循环依赖产生与解决的原理前戏 方式一:通过构造函数方式进行注入 创建两个类: package com.coding.spring.practies; public class TestCircularBeanA { private TestCircularBeanB testCircular 阅读全文

posted @ 2024-07-28 11:33 ~码铃薯~ 阅读(14) 评论(0) 推荐(0)

2024年7月27日

属性填充底层源码深入剖析前戏

摘要: 属性填充底层源码深入剖析前戏 方式一:使用set方式注入 创建两个类: package com.coding.spring.practies; public class TestDIBean { public String say() { return "I am TestDIBean.say()" 阅读全文

posted @ 2024-07-27 18:57 ~码铃薯~ 阅读(9) 评论(0) 推荐(0)

有参构造函数注入底层源码深入剖析**前戏

摘要: 有参构造函数注入底层源码深入剖析前戏 方式一: 创建两个类: public class TestDIBean { public String say() { return "I am TestDIBean.say()"; } } package com.coding.spring.practies; 阅读全文

posted @ 2024-07-27 17:00 ~码铃薯~ 阅读(26) 评论(0) 推荐(0)

2024年7月26日

spring加载bean的三种方式

摘要: spring加载bean的三种方式: 使用xml的方式: 编写配置文件 spring-practies.xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/bea 阅读全文

posted @ 2024-07-26 10:19 ~码铃薯~ 阅读(34) 评论(0) 推荐(0)

2024年7月20日

二叉树的种类

摘要: 二叉树:二叉树是每个节点最多有两个子树的树结构。 完全二叉树:除最后一层外,每一层上的节点数量均达到了最大值,在最后一层上只缺少右边的若干节点。 满二叉树:除最后一层无任何子节点外,每一层上的所有节点都有两个子节点的二叉树。 二叉搜索树(二叉排序树、二叉查找树):左子树<根节点<右子树,它的左子树不 阅读全文

posted @ 2024-07-20 14:31 ~码铃薯~ 阅读(34) 评论(0) 推荐(0)

2024年7月19日

MySQL中的using关键字

摘要: 先创建两张表 CREATE TABLE employees ( employee_id INT AUTO_INCREMENT PRIMARY KEY, name VARCHAR(50), position VARCHAR(50), salary DECIMAL(10, 2) ); INSERT IN 阅读全文

posted @ 2024-07-19 10:51 ~码铃薯~ 阅读(50) 评论(0) 推荐(0)

2024年7月15日

map集合

摘要: package com.coding; import java.util.*; public class Test { public static void main(String[] args) { // Map<String,String> map = new HashMap<>(); // m 阅读全文

posted @ 2024-07-15 17:08 ~码铃薯~ 阅读(9) 评论(0) 推荐(0)

2024年7月6日

linux系统中既没有yum命令也没有wget命令 Cannot find a valid baseurl for repo: base/7/x86_64

摘要: https://blog.csdn.net/weixin_54626591/article/details/138492868 阅读全文

posted @ 2024-07-06 14:38 ~码铃薯~ 阅读(21) 评论(0) 推荐(0)

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 89 下一页

导航