1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00

1656 Commits

Author SHA1 Message Date
Mr.Hope
70819c92cb feat: bump deps 2024-09-24 00:09:56 +08:00
Guide
74170ea66d
Merge pull request #2489 from suppered/main
修改笔误
2024-09-21 13:13:43 +08:00
Guide
79bc813937
Merge pull request #2487 from suppered/patch-2
修改错别字/笔误
2024-09-21 13:12:04 +08:00
Guide
88aa050fa8 [docs add]Java 22 & 23 新特性概览 2024-09-20 11:02:27 +08:00
Guide
1c404b8340 [docs update]typo 2024-09-20 11:02:10 +08:00
suppered
b0cfa505a3
修改笔误
修改笔误
2024-09-19 09:43:46 +08:00
suppered
3cd90b7c5b
修改笔误
修改笔误
2024-09-19 09:41:02 +08:00
suppered
534fde27f7
Update java-concurrent-questions-02.md
修改描述语病
2024-09-18 16:26:09 +08:00
Guide
7cf404ba59 [docs update]内容修正 2024-09-18 14:29:31 +08:00
qksuki
2c6ed751db
Update jvm-garbage-collection.md
修正GC算法描述问题
2024-09-17 20:21:03 +08:00
qksuki
b6d1a8cb2e
Update serialization.md
修正序列化相关描述
2024-09-16 22:13:48 +08:00
qksuki
b5469fc505
Update java-basic-questions-03.md
修正序列化相关的描述
2024-09-16 22:13:18 +08:00
qksuki
afcf129b93
Update memory-area.md
修正描述
2024-09-16 01:04:33 +08:00
qksuki
4e431621a5
Update java-basic-questions-02.md
修正描述错误
2024-09-16 01:03:50 +08:00
qksuki
d011ff6161
Update memory-area.md
同步修改字符串常量池的描述
2024-09-16 01:01:20 +08:00
qksuki
0d308e7eb2
Update java-basic-questions-02.md
修正字符串常量池引用的描述
2024-09-16 00:59:43 +08:00
qksuki
c25884fb80
Update java-basic-questions-01.md
修正描述问题
2024-09-14 00:28:38 +08:00
cxyhuky
e0fad69e4e update java-thread-pool-best-practices.md 2024-09-13 15:57:38 +08:00
chaobk
394043949e LinkedList指定位置插入/删除,遍历平均元素应该是n/4个元素
因为本身就有头尾指针,遍历元素的时候会从最近的指针出发,最多会遍历n/2个元素,平均应该是n/4。Java8源码片段如下:

    Node<E> node(int index) {
        // assert isElementIndex(index);

        if (index < (size >> 1)) {
            Node<E> x = first;
            for (int i = 0; i < index; i++)
                x = x.next;
            return x;
        } else {
            Node<E> x = last;
            for (int i = size - 1; i > index; i--)
                x = x.prev;
            return x;
        }
    }
2024-09-08 22:38:00 +08:00
Guide
93b80ea985 [docs update]线程池参数常用公式修改 2024-09-07 17:36:39 +08:00
Guide
322abf45c3
Merge pull request #2473 from Dllragon/main
Update jvm-garbage-collection.md 引号反了
2024-09-05 12:20:44 +08:00
chaobk
d4de9a025b 删除多余字 2024-09-04 23:20:39 +08:00
DAI LILONG
3c6e434d46
Update jvm-garbage-collection.md 标点调整与内容更新
修改了错误使用的中文冒号;更新默认使用G1的JDK范围至JDK22
2024-09-04 16:53:47 +08:00
DAI LILONG
42c70053ee
Update jvm-garbage-collection.md 引号反了
引号反了
2024-09-04 16:16:05 +08:00
Guide
9b3a71c2cb [docs update]IoC和AOP详解完善 2024-09-04 16:13:41 +08:00
Guide
f2b24072b5 [docs updete]typo 2024-08-21 12:26:42 +08:00
Guide
557d658b7d
Merge pull request #2455 from WindLYLY/main
优化表达便于理解
2024-08-15 23:44:32 +08:00
WindLY
e29f141936
Update java-concurrent-questions-03.md 2024-08-15 22:20:20 +08:00
WindLY
cb70cdf321
Update java-concurrent-questions-03.md 2024-08-15 22:18:59 +08:00
WindLY
641f4fa4a9
Update jmm.md 2024-08-15 16:15:28 +08:00
WindLY
a4fb6dcd80
Update jmm.md 2024-08-15 16:13:00 +08:00
Guide
c0535df01c [docs update]完善HTTP/2.0 和 HTTP/3.0 的对比 2024-08-13 16:01:02 +08:00
Guide
af341e3b05 [docs update]完善回答HashMap 的长度为什么是 2 的幂次方 2024-08-11 15:33:02 +08:00
Guide
ee1e7a5140 Merge branch 'main' of github.com:Snailclimb/JavaGuide 2024-08-10 20:38:24 +08:00
Guide
e29ad07899 [docs update]内容完善 2024-08-10 20:38:10 +08:00
scclsy
18b27250aa [doc update]增加关于-Xverify:none 和-noverify 被弃用说明 2024-08-08 16:18:25 +08:00
ning
0ca3a95814
Update java-basic-questions-02.md
add describe
2024-08-04 15:46:51 +08:00
ning
b75ee23d39
Update java-basic-questions-02.md
fix describe text between string builder and string +
2024-08-04 15:41:36 +08:00
Guide
4acc22c947
Merge pull request #2440 from WindLYLY/main
Update arraylist-source-code.md
2024-07-30 09:36:42 +08:00
WindLY
e305618723
Update arraylist-source-code.md 2024-07-29 16:53:10 +08:00
WindLY
979800a553
Update java-collection-questions-02.md 2024-07-29 11:30:49 +08:00
Guide
94a0c4ceb7 [docs update]部分描述完善 2024-07-27 18:18:34 +08:00
Guide
4f87ee846e [docs update]完善问题:面向对象和面向过程的区别 2024-07-21 12:56:33 +08:00
Guevara
b5c1dcbc1c
Update nio-basis.md
多打了一个“主”
2024-07-17 17:02:06 +08:00
Guide
b392abd1e7 Update atomic-classes.md 2024-07-17 13:31:32 +08:00
Guide
fe697ad4a3 [docs update&add]完善部分内容描述&新增一篇cas详解 2024-07-17 12:53:20 +08:00
Guide
97dd88a54c [docs update]完善对接口和抽象类的描述 2024-07-14 18:05:30 +08:00
Zhao Yuxin
d077fdf04d
Update java8-tutorial-translate.md
在举例Stream中,Parallel Sort(并行排序)时,列举并行排序的例子里面,代码中的注释写成了“//串行排序所用的时间”。但其实是“//并行排序所用的时间”
2024-07-11 17:55:12 +08:00
Guide
a88ad33569 [docs update]移除&重新手绘部分图片 2024-07-09 23:49:02 +08:00
Guide
e35a7ce5f6 [docs update]完善问题execute() vs `submit() 2024-07-08 14:58:18 +08:00