出典:Wiktionary
出典:Wikipedia
出典:『Wikipedia』 (2011/06/08 20:32 UTC 版)
The state pattern, which closely resembles Strategy Pattern, is a behavioral software design pattern, also known as the objects for states pattern. This pattern is used in computer programming to represent the state of an object. This is a clean way for an object to partially change its type at runtime:395.