Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Android には、SharedPreferences.Editorデータ操作用のインターフェイスを提供する という名前のクラスがあります。
SharedPreferences.Editor
私の質問は、なぜクラス名に name.name 構造があるのですか? どういう意味ですか?
これは、外部クラスのインスタンスにバインドされていない内部クラスです。つまり、インスタンスがないため、外部クラスの非静的メンバーにアクセスできません。これは、外部クラスのインスタンスが必要ない場合、または利用できない場合に使用されます。