Fluent Interface
2018-11-06 16:08:49 5 举报
fluent pattern
作者其他创作
大纲/内容
Fluent Interfacer(连贯接口)
CostumerBuilder
- costumer : Costumer
+ name(String name)+ id(int id)+ education(String education)+ builder() :Costumer
Costumer
- name:string - id : int- education: string
setAttribute()getAttribute()
CostumerBuilder name(String name){costumer.setName(name);return this;}....
Client
0 条评论
下一页