基础设计模式UML图例
2021-01-19 11:13:13 15 举报
学习基础示例
作者其他创作
大纲/内容
UserServiceImpl
+ attribute1:type = defaultValue+ attribute2:type- attribute3:type
+ operation1(params):returnType- operation2(params)- operation3()
span style=\
JButton
- instance:Sspan style=\
+ span style=\
Car
+ operation1(params):returnType- remove(params)- operation3()
contains
has
Head
+ mouth:Mouth + attribute2:type- attribute3:type
+ Head()- operation2(params)- operation3()
Teacher
-teacherNo
+ operation1(params):returnType- teach(params)- operation3()
Car2
+ attribute1:type = defaultValue+ attribute2:type- engine:Engine
+ Car2(Engine engine):Car2+ serEngine(Engine engine)- operation3()
LoginForm
+ attribute1:type = defaultValue+ loginButton:JButton- attribute3:type
Person
#age#name
Engine
+ attribute1:type = defaultValue+ attribute2:type
+ operation1(params):returnType- operation2(params)
IUserService
Mouth
Student
-studentNo
+ operation1(params):returnType- study(params)- operation3()
if(Instance==null){Instance = new Singleton ();}return Instance;
Driver
+ operation1(params):returnType- drive(Car car)- operation3()
收藏
0 条评论
下一页