Skip to content

Commit 4aaf09d

Browse files
committed
修改模式的描述
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy