Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4aaf09d

Browse files
修改模式的描述
1 parent 05cddcb commit 4aaf09d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎java-des/src/com/java/design/state/StatePattern.java‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
package com.java.design.state;
22

33
/**
4-
* 状态模式 ----->
5-
* 定义对象间的一种一对多的依赖关系,当一个对象的状态发生改变时,所有依赖于它的对象都得到通知并被自动更新。允许一个对象在其内部状态改变时改变它的行为
6-
* 对象看起来似乎修改了它的类
4+
* 状态模式 -----> 允许一个对象在其内部状态改变时改变它的行为,对象看起来似乎修改了它的类
75
*
86
* @author Administrator
97
*

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /