Skip to content

Commit

Permalink
docs: 更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
dunwu committed Feb 19, 2025
1 parent bac2668 commit fe7cdcf
Show file tree
Hide file tree
Showing 647 changed files with 58,414 additions and 26,868 deletions.
418 changes: 197 additions & 221 deletions README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ date: 2020-12-25 18:43:11
order: 42
categories:
- Java
- JavaSE
- JavaCore
- 基础特性
tags:
- Java
- JavaSE
- JavaCore
- 工具类
- 字符串
permalink: /pages/bc583c/
permalink: /pages/89de55cf/
---

# 深入理解 Java String 类型
Expand Down Expand Up @@ -131,7 +131,7 @@ sharedLocation.setRegion(messageInfo.getCountryCode().intern());

- [《Java 编程思想(Thinking in java)》](https://book.douban.com/subject/2130190/)
- [《Java 核心技术 卷 I 基础知识》](https://book.douban.com/subject/26880667/)
- [Java 性能调优实战](https://time.geekbang.org/column/intro/100028001)
- [Java 核心技术面试精讲](https://time.geekbang.org/column/intro/82)
- [极客时间教程 - Java 性能调优实战](https://time.geekbang.org/column/intro/100028001)
- [极客时间教程 - Java 核心技术面试精讲](https://time.geekbang.org/column/intro/82)
- [Java 基本数据类型和引用类型](https://juejin.im/post/59cd71835188255d3448faf6)
- [深入剖析 Java 中的装箱和拆箱](https://www.cnblogs.com/dolphin0520/p/3780005.html)
- [深入剖析 Java 中的装箱和拆箱](https://www.cnblogs.com/dolphin0520/p/3780005.html)
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ date: 2020-06-04 13:51:01
order: 10
categories:
- Java
- JavaSE
- JavaCore
- 基础特性
tags:
- Java
- JavaSE
- JavaCore
- 反射
- 动态代理
permalink: /pages/0d066a/
permalink: /pages/31248a53/
---

# 深入理解 Java 反射和动态代理
Expand Down Expand Up @@ -845,11 +845,11 @@ CGLIB 动态代理特点:

- [Java 编程思想](https://book.douban.com/subject/2130190/)
- [Java 核心技术(卷 1)](https://book.douban.com/subject/3146174/)
- [深入拆解 Java 虚拟机](https://time.geekbang.org/column/intro/100010301)
- [极客时间教程 - 深入拆解 Java 虚拟机](https://time.geekbang.org/column/intro/100010301)
- [深入解析 Java 反射(1) - 基础](https://www.sczyh30.com/posts/Java/java-reflection-1/)
- [Java 基础之—反射(非常重要)](https://blog.csdn.net/sinat_38259539/article/details/71799078)
- [官方 Reflection API 文档](https://docs.oracle.com/javase/tutorial/reflect/index.html)
- [Java 的动态代理机制详解](https://www.cnblogs.com/xiaoluo501395377/p/3383130.html)
- [Java 动态代理机制详解(JDK 和 CGLIB,Javassist,ASM)](https://blog.csdn.net/luanlouis/article/details/24589193)
- [深入理解 JDK 动态代理机制](https://www.jianshu.com/p/471c80a7e831)
- [深入理解 CGLIB 动态代理机制](https://www.jianshu.com/p/9a61af393e41)
- [深入理解 CGLIB 动态代理机制](https://www.jianshu.com/p/9a61af393e41)

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ date: 2022-01-25 07:31:16
order: 01
categories:
- Java
- JavaSE
- JavaCore
- 基础特性
tags:
- Java
- JavaSE
permalink: /pages/2950ba/
- JavaCore
permalink: /pages/2d948841/
---

# Java 基础语法特性
Expand Down Expand Up @@ -40,7 +40,7 @@ public class HelloWorld {

![img](https://raw.githubusercontent.com/dunwu/images/master/cs/java/javacore/xmind/Java基本数据类型.svg)

> 👉 扩展阅读:[深入理解 Java 基本数据类型](https://dunwu.github.io/waterdrop/pages/55d693/)
> 👉 扩展阅读:[深入理解 Java 基本数据类型](https://dunwu.github.io/waterdrop/pages/e1e559ed/)
## 变量和常量

Expand Down Expand Up @@ -77,13 +77,13 @@ Java 支持的变量类型有:

![img](https://raw.githubusercontent.com/dunwu/images/master/cs/java/javacore/xmind/Java数组.svg)

> 👉 扩展阅读:[深入理解 Java 数组](https://dunwu.github.io/waterdrop/pages/155518/)
> 👉 扩展阅读:[深入理解 Java 数组](https://dunwu.github.io/waterdrop/pages/ae0740ef/)
## 枚举

![img](https://raw.githubusercontent.com/dunwu/images/master/cs/java/javacore/xmind/Java枚举.svg)

> 👉 扩展阅读:[深入理解 Java 枚举](https://dunwu.github.io/waterdrop/pages/979887/)
> 👉 扩展阅读:[深入理解 Java 枚举](https://dunwu.github.io/waterdrop/pages/2f0a1ca4/)
## 操作符

Expand All @@ -97,35 +97,35 @@ Java 中支持的操作符类型如下:

![img](https://raw.githubusercontent.com/dunwu/images/master/snap/20220125072221.png)

> 👉 扩展阅读:[深入理解 Java 方法](https://dunwu.github.io/waterdrop/pages/7a3ffc/)
> 👉 扩展阅读:[深入理解 Java 方法](https://dunwu.github.io/waterdrop/pages/e70c4bf9/)
## 控制语句

![img](https://raw.githubusercontent.com/dunwu/images/master/cs/java/javacore/xmind/Java控制语句.svg)

> 👉 扩展阅读:[Java 控制语句](https://dunwu.github.io/waterdrop/pages/fb4f8c/)
> 👉 扩展阅读:[Java 控制语句](https://dunwu.github.io/waterdrop/pages/36fd1ce8/)
## 异常

![img](https://raw.githubusercontent.com/dunwu/images/master/cs/java/javacore/xmind/Java异常框架.svg)

![img](https://raw.githubusercontent.com/dunwu/images/master/cs/java/javacore/xmind/Java异常.svg)

> 👉 扩展阅读:[深入理解 Java 异常](https://dunwu.github.io/waterdrop/pages/37415c/)
> 👉 扩展阅读:[深入理解 Java 异常](https://dunwu.github.io/waterdrop/pages/07ac0613/)
## 泛型

![img](https://raw.githubusercontent.com/dunwu/images/master/cs/java/javacore/xmind/Java泛型.svg)

> 👉 扩展阅读:[深入理解 Java 泛型](https://dunwu.github.io/waterdrop/pages/33a820/)
> 👉 扩展阅读:[深入理解 Java 泛型](https://dunwu.github.io/waterdrop/pages/ddc68bb5/)
## 反射

![img](https://raw.githubusercontent.com/dunwu/images/master/cs/java/javacore/xmind/Java反射.svg)

![img](https://raw.githubusercontent.com/dunwu/images/master/cs/java/javacore/xmind/Java代理.svg)

> 👉 扩展阅读:[深入理解 Java 反射和动态代理](https://dunwu.github.io/waterdrop/pages/0d066a/)
> 👉 扩展阅读:[深入理解 Java 反射和动态代理](https://dunwu.github.io/waterdrop/pages/6ef470ed/)
## 注解

Expand All @@ -137,10 +137,10 @@ Java 中支持的操作符类型如下:

![img](https://raw.githubusercontent.com/dunwu/images/master/cs/java/javacore/xmind/自定义注解.svg)

> 👉 扩展阅读:[深入理解 Java 注解](https://dunwu.github.io/waterdrop/pages/ecc011/)
> 👉 扩展阅读:[深入理解 Java 注解](https://dunwu.github.io/waterdrop/pages/56a4a49d/)
## 序列化

![img](https://raw.githubusercontent.com/dunwu/images/master/cs/java/javacore/xmind/Java序列化.svg)

> 👉 扩展阅读:[Java 序列化](https://dunwu.github.io/waterdrop/pages/2b2f0f/)
> 👉 扩展阅读:[Java 序列化](https://dunwu.github.io/waterdrop/pages/76ab164b/)
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ date: 2019-05-06 15:02:02
order: 08
categories:
- Java
- JavaSE
- JavaCore
- 基础特性
tags:
- Java
- JavaSE
- JavaCore
- 异常
permalink: /pages/37415c/
permalink: /pages/f328743a/
---

# 深入理解 Java 异常
Expand Down Expand Up @@ -462,4 +462,4 @@ public class ExceptionOverrideDemo {
- [优雅的处理你的 Java 异常](https://my.oschina.net/c5ms/blog/1827907)
- https://juejin.im/post/5b6d61e55188251b38129f9a#heading-17
- https://www.cnblogs.com/skywang12345/p/3544168.html
- http://www.importnew.com/26613.html
- http://www.importnew.com/26613.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ date: 2020-10-17 19:13:25
order: 07
categories:
- Java
- JavaSE
- JavaCore
- 基础特性
tags:
- Java
- JavaSE
- JavaCore
- 控制语句
permalink: /pages/fb4f8c/
permalink: /pages/2357b621/
---

# Java 控制语句
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ date: 2019-05-06 15:02:02
order: 05
categories:
- Java
- JavaSE
- JavaCore
- 基础特性
tags:
- Java
- JavaSE
- JavaCore
- 数组
permalink: /pages/155518/
permalink: /pages/00d8985a/
---

# 深入理解 Java 数组
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ date: 2019-05-06 15:02:02
order: 04
categories:
- Java
- JavaSE
- JavaCore
- 基础特性
tags:
- Java
- JavaSE
- JavaCore
- 方法
permalink: /pages/7a3ffc/
permalink: /pages/46cba1d9/
---

# 深入理解 Java 方法
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ date: 2019-05-06 15:02:02
order: 06
categories:
- Java
- JavaSE
- JavaCore
- 基础特性
tags:
- Java
- JavaSE
- JavaCore
- 枚举
permalink: /pages/979887/
permalink: /pages/4e47d423/
---

# 深入理解 Java 枚举
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ date: 2020-10-17 19:13:25
order: 09
categories:
- Java
- JavaSE
- JavaCore
- 基础特性
tags:
- Java
- JavaSE
- JavaCore
- 泛型
permalink: /pages/33a820/
permalink: /pages/4c266ac0/
---

# 深入理解 Java 泛型
Expand Down Expand Up @@ -669,4 +669,4 @@ Java 泛型有一些约定俗成的命名:
- [Java 核心技术(卷 1)](https://book.douban.com/subject/3146174/)
- [Effective java](https://book.douban.com/subject/3360807/)
- [Oracle 泛型文档](https://docs.oracle.com/javase/tutorial/java/generics/index.html)
- [Java 泛型详解](https://juejin.im/post/584d36f161ff4b006cccdb82)
- [Java 泛型详解](https://juejin.im/post/584d36f161ff4b006cccdb82)
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ date: 2019-05-06 15:02:02
order: 11
categories:
- Java
- JavaSE
- JavaCore
- 基础特性
tags:
- Java
- JavaSE
- JavaCore
- 注解
permalink: /pages/ecc011/
permalink: /pages/77a42c51/
---

# 深入理解 Java 注解
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,31 @@ date: 2020-08-06 18:20:39
order: 03
categories:
- Java
- JavaSE
- JavaCore
- 基础特性
tags:
- Java
- JavaSE
- JavaCore
- 面向对象
permalink: /pages/3e1661/
permalink: /pages/e5542773/
---

# Java 面向对象

> [Java 基本数据类型](02.Java基本数据类型.md) 中我们了解 Java 中支持的基本数据类型(值类型)。本文开始讲解 Java 中重要的引用类型——类。
> [Java 基本数据类型](Java基本数据类型.md) 中我们了解 Java 中支持的基本数据类型(值类型)。本文开始讲解 Java 中重要的引用类型——类。
## 面向对象

每种编程语言,都有自己的操纵内存中元素的方式。

Java 中提供了[基本数据类型](https://dunwu.github.io/waterdrop/pages/55d693/),但这还不能满足编写程序时,需要抽象更加复杂数据类型的需要。因此,Java 中,允许开发者通过类(类的机制下面会讲到)创建自定义类型。
Java 中提供了[基本数据类型](https://dunwu.github.io/waterdrop/pages/e1e559ed/),但这还不能满足编写程序时,需要抽象更加复杂数据类型的需要。因此,Java 中,允许开发者通过类(类的机制下面会讲到)创建自定义类型。

有了自定义类型,那么数据类型自然会千变万化,所以,必须要有一定的机制,使得它们仍然保持一些必要的、通用的特性。

Java 世界有一句名言:一切皆为对象。这句话,你可能第一天学 Java 时,就听过了。这不仅仅是一句口号,也体现在 Java 的设计上。

- 首先,所有 Java 类都继承自 `Object` 类(从这个名字,就可见一斑)。
- 几乎所有 Java 对象初始化时,都要使用 `new` 创建对象([基本数据类型](https://dunwu.github.io/waterdrop/pages/55d693/)、String、枚举特殊处理),对象存储在堆中。
- 几乎所有 Java 对象初始化时,都要使用 `new` 创建对象([基本数据类型](https://dunwu.github.io/waterdrop/pages/e1e559ed/)、String、枚举特殊处理),对象存储在堆中。

```java
// 下面两
Expand Down Expand Up @@ -377,4 +377,4 @@ Java 标准库中,比如 `collection` 框架,很多通用部分就被抽取
- [Head First Java](https://book.douban.com/subject/4496038/)
- 文章
- [面向对象编程的弊端是什么? - invalid s 的回答](https://www.zhihu.com/question/20275578/answer/26577791)
- https://www.cnblogs.com/swiftma/p/5628762.html
- https://www.cnblogs.com/swiftma/p/5628762.html
Loading

0 comments on commit fe7cdcf

Please sign in to comment.