Command パターン
出典: フリー百科事典『ウィキペディア(Wikipedia)』 (2024/03/02 22:06 UTC 版)
Command パターン(英: command pattern)は、オブジェクト指向プログラミングにおいて命令あるいは動作をオブジェクトで表現するデザインパターンの一種である。
- ^ "This object can be stored and passed around like other objects." Gamma (1994). p.263.
- ^ "Intent. Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations." Gamma(1994). p.263.
- ^ "Execute carries out the operation." Gamma (1994). p.264.
- ^ "At the other extreme it implements everything itself without delegating to a receiver at all." Gamma (1994) p.268.
- ^ "At one extreme it merely defines a binding between a receiver and the actions that carry out the request." Gamma (1994) p.268.
- ^ "Also Known As Action, Transaction" Gamma (1994) p.263.
- ^ "Commands in THINK are called 'Tasks.'" Gamma (1994) p.272.
- ^ "Consequences ... Command decouples the object that invokes the operation from the one that knows how to perform it." Gamma(1994). p.267.
- ^ "Sometimes it's necessary to issue requests to objects without knowing anything about the operation being requested or the receiver of the request." Gamma (1994). p.263.
- ^ "Commands are an object-oriented replacement for callbacks. " Gamma (1994) p.265.
- ^ Vcl.ActnList.TAction - RAD Studio API Documentation
- ^ コマンド実行の概要 - WPF .NET Framework | Microsoft Learn
- ^ ThreadPoolExecutor (Java 2 Platform SE 5.0)
- 1 Command パターンとは
- 2 Command パターンの概要
- 3 定義
- 4 活用例
- 5 脚注
「Command パターン」の例文・使い方・用例・文例
- そのような行動のパターンが多い
- 君の服装はいつもワンパターンだな。
- 周りの文化の行動パターンを取り入れることの重要さを彼は強調した。
- 母馬は通常毎年同じ分娩パターンを繰り返す。
- ウェザーマーチャンダイジングは、消費者の行動パターンを分析するために、天候に焦点をあてる。
- エリアマーケティングは消費者の行動パターンを探る上で地域を重要視する。
- チャートの二番底のパターン
- 下記のパターンに従って
- 私は彼の行動パターンを学んだ。
- そのノズルは7つのパターンで散水ができるようになっています。
- 同じパターンで用いても違いが生じる。
- 同じパターンを用いても違いが出来ます。
- このように、名詞の変化のパターンがある他に、動詞の語形変化も現代英語よりもいろいろな種類がありました。
- 離れることで全体が見渡せるようになり、今度はそれで、ある程度のパターン認識ができるようになるのである。
- 南諸島のコミュニティの中にはまったくの正反対の血縁関係のパターンが観察されるであろう。
- 世界貿易の変動パターンが次の表で明らかにされている。
- 居酒屋で飲んで、カラオケか。俺達もワンパターンだな。
- この母音変化はそれぞれの単語に指定される全体のアクセントパターンと大いに関係している。
- この氷結と氷解のパターンが、北極熊の主な獲物であるアザラシの分布と数に影響を与えるのだ。
- 彼とデートしたっていつもワンパターンなんだからあきちゃうのよ.
- Command パターンのページへのリンク