A -Super AgentTime Limit:2000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 12AAppoint description:DescriptionTher...
分类:
其他好文 时间:
2015-01-10 20:58:22
阅读次数:
195
class Fruit { String color = "未确定颜色"; //定义一个方法,该方法返回调用该方法的实例 public Fruit getThis() { return this; } public void info() { ...
分类:
其他好文 时间:
2015-01-10 12:31:00
阅读次数:
162
Ubuntu 11.10不得不知的快捷键Super(windows图标键) 敲击打开托盘Super + A 打开应用程序托盘Super + F 打开文件及文件夹托盘Super + W 平铺模式列出所有窗口Super + S 浏览模式,缩小所有工作区,让你管理窗口Super + T 打开回收站 www...
分类:
系统相关 时间:
2015-01-10 10:02:27
阅读次数:
192
做为一个java出身的程序媛,长时间做Lua,重复一些工作后,特别想用继承。其实很简单。因为我有一大部分的场景,背景长的都一样,所以打算做一个父类。需要注意的是,如果子类有和父类的同名函数,就会被覆盖,除非手动的调用.super.方法。关键的代码就两个地方,都在子类中。1 创建场景时:local S...
分类:
其他好文 时间:
2015-01-09 19:03:11
阅读次数:
163
1 public class ViewMeasuare extends View { 2 3 public ViewMeasuare(Context context, AttributeSet attrs) { 4 super(context, attrs); 5 ...
分类:
其他好文 时间:
2015-01-09 16:56:42
阅读次数:
164
Application 中 private RequestQueue mRequestQueue;
private static AppController mInstance;
@Override
public void onCreate() {
super.onCreate();
mInstance = this;
}
/**
* 锁定的是本类
*
* @r...
分类:
其他好文 时间:
2015-01-09 14:23:58
阅读次数:
108
有N个广告牌(N boards; 8 9 public Signboard() { 10 super(); 11 boards = new HashMap();//Integer参数记录广告牌的位置,AD参数记录广告内容 12 } 13 1...
分类:
其他好文 时间:
2015-01-08 23:56:21
阅读次数:
241
#import @interface ViewController : UIViewController{ UIWebView *webView; UISearchBar *searchBar;} @end -(void)loadView{ [super ...
分类:
Web程序 时间:
2015-01-08 15:09:05
阅读次数:
198
原先写法{# #}不使用路径写法,方便settings改配置static写法{% load staticfiles %}{%block%}里如果要继承上述文件可以使用{{block.super}}
分类:
其他好文 时间:
2015-01-08 11:00:55
阅读次数:
820
///
一般的,view测量的方法:
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
final ImageV...
分类:
移动开发 时间:
2015-01-07 18:55:34
阅读次数:
179