- 博客(2)
- 收藏
- 关注
原创 模板方法模式
1.模板方法模式1)定义:在一个方法中定义好算法的框架,一些具体的算法步骤可以延迟到子类中实现,从而使得在不改变算法结构的情况下,重新定义算法的某些具体步骤。2)模板方法基本框架abstract class TempletClass{ //模板方法,在该方法中定义了基本的算法框架 final void algorithmMethod(){ primitiveOp1(...
2018-05-31 11:36:14 106
原创 第2章 Building Apps with Contents Sharing
第1节 Sharing Simple Data 1.1 Sending Simple Date to Other Apps When you construct an intend, you must specify the action you want the intent to "trigger",Android defines serveral action, inc
2016-03-23 11:31:19 174
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人