Re-translate the Japanese version (#1871)

* Retranslate Japanese docs with GPT-5.4

* Retranslate Japanese code with GPT-5.4
This commit is contained in:
Yudong Jin
2026-03-30 07:30:15 +08:00
committed by GitHub
parent fe6443235b
commit d7b2277d2b
1444 changed files with 83312 additions and 8363 deletions

View File

@@ -21,13 +21,13 @@ public class queue {
queue.offer(4);
System.out.println("キュー queue = " + queue);
/* 先頭要素にアクセス */
/* キュー先頭要素にアクセス */
int peek = queue.peek();
System.out.println("先頭要素 peek = " + peek);
/* 要素をデキュー */
int pop = queue.poll();
System.out.println("デキューした要素 = " + pop + "、デキュー後 " + queue);
System.out.println("デキューした要素 pop = " + pop + "、デキュー後の queue = " + queue);
/* キューの長さを取得 */
int size = queue.size();
@@ -35,6 +35,6 @@ public class queue {
/* キューが空かどうかを判定 */
boolean isEmpty = queue.isEmpty();
System.out.println("キューが空か = " + isEmpty);
System.out.println("キューが空かどうか = " + isEmpty);
}
}
}