01、swith user :切换(root)用户$ su02、super user do:用超级用户来执行(命令)$ sudo03、concatenate:串联$ cat04、unix name:系统名称$ uname05、disk free:空余硬盘$ df06、disk usage:硬盘使用率...
分类:
系统相关 时间:
2015-01-03 23:44:00
阅读次数:
240
As a super Ford diagnostic tool, Ford VCM II IDS has gradually been received close attention by comprehensive Ford owners.While how to avoid buying a ...
分类:
其他好文 时间:
2015-01-02 14:35:24
阅读次数:
216
注:去除标题,必须在setContentView方法前调用例:protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // 去除标题, 必须在setContentView 方法前...
分类:
其他好文 时间:
2015-01-01 23:41:37
阅读次数:
172
泛型中使用通配符有两种形式:子类型限定和超类型限定。...
分类:
编程语言 时间:
2014-12-31 20:13:24
阅读次数:
172
1.什么是super?什么是this?
super关键字表示超(父)类的意思。this变量代表对象本身。
2.使用super&this调用成员变量和方法
可以使用super访问父类被子类隐藏的变量或覆盖的方法。当前类如果是从超类继承而来的,当调用super.XX()就是调用基类版本的XX()方法。见示例1。
当类中有两个同名变量,一个属于类(类的成员变量),而另一个属于某个特定的方法(方法...
分类:
编程语言 时间:
2014-12-31 20:11:34
阅读次数:
223
//调用父类dealloc(即[super dealloc])最好放在最后。- (void)dealloc { [_name release]; NSLog(@"%@被销毁了", self); [super dealloc];}
分类:
其他好文 时间:
2014-12-31 16:09:31
阅读次数:
148
如何建立上面的对话框和提示信息 1 @Override 2 protected void onCreate(Bundle savedInstanceState) { 3 super.onCreate(savedInstanceState); 4 setCont...
分类:
移动开发 时间:
2014-12-30 13:24:07
阅读次数:
138
先前学习看到ORM的时候,需要用到metaclass相关的知识,于是,回过头来又去看关于metaclass的知识,看metaclass的时候,我又发现,一些和super相关的知识掌握的不是很透彻,于是又去复习了一下super相关的知识,看super的时候,又发现不了解Python的MRO,于是又去看...
分类:
Web程序 时间:
2014-12-30 00:27:39
阅读次数:
183
在接收消息广播的onReceive里,跳转到你要显示的界面。如:Intentintent=newIntent(arg0,MainActivity.class);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
arg0.startActivity(intent);在该activity的onCreate()方法里:super.onCreate(savedInstanceState);
getWindow(..
分类:
移动开发 时间:
2014-12-29 15:33:37
阅读次数:
162
Python 单例模式:class Singleton(object): def __new__(cls, *args, **kw): if not hasattr(cls, '_instance'): orig = super(Singleton, cls...
分类:
编程语言 时间:
2014-12-29 10:22:10
阅读次数:
214