最終更新日:2025/11/28

(software engineering) An invariant used to constrain objects of a class that is preserved by class methods and that constrains the state stored in the object.

音声機能が動作しない場合はこちらをご確認ください
正解を見る

class invariant

編集履歴(0)
元となった辞書の項目

class invariant

名詞
日本語の意味
クラス不変条件:クラスのオブジェクトに対し、クラス内のメソッドが常に維持するべき、不変の状態や条件を規定する制約。 / クラス内のオブジェクトの状態を制約し、その状態がクラスのメソッドによって常に保たれる不変の条件。
このボタンはなに?

テストを書く前に、クラス不変条件を明確に文書化して、すべてのメソッドがオブジェクトの整合性を維持するようにしてください。

plural

Dictionary quizzes to help you remember vocabulary

編集履歴(0)

ログイン / 新規登録

 

アプリをダウンロード!
DiQt

DiQt(ディクト)

無料

★★★★★★★★★★