File tree Expand file tree Collapse file tree 3 files changed +82
-2
lines changed
Expand file tree Collapse file tree 3 files changed +82
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ title: 内部クラスの静的メンバー
22oldApproach : staticネストクラスの必須化
33modernApproach : 内部クラスの静的メンバー
44summary : " staticネストクラスを使わずに内部クラスで静的メンバーを定義できる。"
5- explanation : " Java 16以前は、staticネストクラスだけが静的メンバーを持てました。内部(非static)クラスはエンクロージングインスタンスを必要とするため、staticを持てませんでした。Java 16でこの制限が緩和され、内部クラスでも静的フィールド、メソッド、さらはネスト型を使えるようになりました 。"
5+ explanation : " Java 16以前は、staticネストクラスだけが静的メンバーを持てました。内部(非static)クラスはエンクロージングインスタンスを必要とするため、staticを持てませんでした。Java 16でこの制限が緩和され、内部クラスでも静的フィールド、メソッド、さらにネスト型を使えるようになりました 。"
66whyModernWins :
77- icon : " 🔓"
88 title : 柔軟性の向上
Original file line number Diff line number Diff line change @@ -12,6 +12,6 @@ whyModernWins:
1212 desc : " IDEやリンターが意図的に未使用の変数にフラグを立てなくなります。"
1313- icon : " 🧹"
1414 title : すっきりしたラムダ
15- desc : " 複数パラメータのラムダで一部のパラメントだけ必要な場合に簡潔に書けます 。"
15+ desc : " 複数パラメータのラムダで一部のパラメータだけ必要な場合に簡潔に書けます 。"
1616support :
1717 description : JDK 22でファイナライズ(JEP 456、2024年3月)
Original file line number Diff line number Diff line change 1+ site :
2+ tagline : Javaは進化した。あなたのコードも。
3+ tagline_line1 : Javaは進化した。
4+ tagline_line2 : あなたのコードも。
5+ description : モダンなJavaコードスニペットのコレクション。古いパターンとその洗練されたモダンな置き換えを並べて比較。
6+ heroSnippetCount : ✦ {{snippetCount}} のモダンパターン · Java 8 → Java 25
7+ heroOld : 旧来
8+ heroModern : モダン
9+ allComparisons : すべての比較
10+ snippetsBadge : ' {{snippetCount}} スニペット'
11+ nav :
12+ allPatterns : ← すべてのパターン
13+ toggleTheme : テーマ切替
14+ viewOnGitHub : GitHubで見る
15+ selectLanguage : 言語を選択
16+ breadcrumb :
17+ home : ホーム
18+ sections :
19+ codeComparison : コード比較
20+ whyModernWins : モダンな方法が優れている理由
21+ oldApproach : 旧来のアプローチ
22+ modernApproach : モダンなアプローチ
23+ sinceJdk : JDKバージョン
24+ difficulty : 難易度
25+ jdkSupport : JDKサポート
26+ howItWorks : 仕組み
27+ relatedDocs : 関連ドキュメント
28+ relatedPatterns : 関連パターン
29+ filters :
30+ show : ' 表示:'
31+ all : すべて
32+ difficulty :
33+ beginner : 初級
34+ intermediate : 中級
35+ advanced : 上級
36+ search :
37+ placeholder : スニペットを検索…
38+ noResults : 結果が見つかりませんでした。
39+ esc : ESC
40+ searchTrigger : 検索…
41+ navigate : 移動
42+ open : 開く
43+ close : 閉じる
44+ cards :
45+ old : 旧来
46+ modern : モダン
47+ hoverHint : ホバーしてモダンを見る →
48+ hoverHintRelated : ホバーしてモダンを見る ➜
49+ touchHint : 👆 タップまたはスワイプ →
50+ copy :
51+ copy : コピー
52+ copied : コピーしました!
53+ share :
54+ label : 共有
55+ view :
56+ expandAll : すべて展開
57+ collapseAll : すべて折りたたむ
58+ stats :
59+ modernPatterns : モダンパターン
60+ jdkVersions : 対応JDKバージョン
61+ categories : カテゴリ
62+ linesOfPython : 必要なPython行数
63+ footer :
64+ tagline : Javaは進化した。あなたのコードも。
65+ madeWith : ❤️ で作られました by
66+ and : と
67+ inspiredBy : インスパイアされました by
68+ viewOnGitHub : GitHubで見る
69+ copilot :
70+ headline : GitHub CopilotでJavaコードをモダン化しましょう。
71+ description : CopilotがレガシーパターンをモダンなJavaに自動的に移行するのを手伝います。
72+ appModernization : アプリのモダン化 →
73+ javaGuide : Javaガイド →
74+ support :
75+ available : 利用可能
76+ preview : プレビュー
77+ experimental : 実験的
78+ untranslated :
79+ notice : このページはまだ{{localeName}}に翻訳されていません。
80+ viewInEnglish : 英語で見る
You can’t perform that action at this time.
0 commit comments