期刊名称:International Journal of Software Engineering and Its Applications
印刷版ISSN:1738-9984
出版年度:2009
卷号:3
期号:4
出版社:SERSC
摘要:The design of the state pattern is analyzed and the notion of stability of a design is proposed. Mathematical models and ideas from numerical analysis are used to derive a stable design for the state pattern. The stability of the design is illustrated by considering two canonical examples from the OO literature.
关键词:State Pattern; Finite State Machine; Stability; Granularity.