Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitad8d433

Browse files
authored
修改错别字
1 parentec28415 commitad8d433

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎Java相关/ArrayList-Grow.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,8 @@ public class EnsureCapacityTest {
340340

341341
```
342342
使用ensureCapacity方法前:4637
343-
使用ensureCapacity方法前:241
343+
使用ensureCapacity方法后:241
344344
345345
```
346346

347-
通过运行结果,我们可以很明显的看出向 ArrayList 添加大量元素之前最好先使用`ensureCapacity` 方法,以减少增量从新分配的次数
347+
通过运行结果,我们可以很明显的看出向 ArrayList 添加大量元素之前最好先使用`ensureCapacity` 方法,以减少增量从新分配的次数

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp