三件事需要做:1
window->Preference->java->Compiler->Compiler compliance
lever->设置成最高版本(1.6以上含)2 project->properties->java
compiler->设置成跟上面一样的编译等级。3 project->...
分类:
系统相关 时间:
2014-04-30 13:07:15
阅读次数:
540
jQuery Mobile 页面事件在 jQuery Mobile
中与页面打交道的事件被分为四类:Page Initialization - 在页面创建前,当页面创建时,以及在页面初始化之后Page Load/Unload -
当外部页面加载时、卸载时或遭遇失败时Page Transition -...
分类:
Web程序 时间:
2014-04-29 10:32:47
阅读次数:
477
大多数计算机语言,有且仅有一个表示"无"的值,比如,C语言的NULL,Java语言的null,Python语言的None,Ruby语言的nil。有点奇怪的是,JavaScript语言居然有两个表示"无"的值:undefined和null。这是为什么?一、相似性在JavaScript中,将一个变量赋值...
分类:
其他好文 时间:
2014-04-29 10:32:46
阅读次数:
404
Just a HookTime Limit: 4000/2000 MS
(Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s):
15093Accepted Submission(s): 7489Proble...
分类:
其他好文 时间:
2014-04-29 10:32:46
阅读次数:
457
题目: There are two sorted arrays A and B of size m
and n respectively. Find the median of the two sorted arrays. The overall run
time complexity should...
分类:
其他好文 时间:
2014-04-29 10:32:46
阅读次数:
359
List的几个方法List=>List.Find()List.FindAll()List.Contains()
List.ForEach()List.ConvertAll() 1. 先比较Find()跟FindAll()。 这个两个函数都是 遍历List的集合,只是
区别在于FindAll()返回的...
分类:
Web程序 时间:
2014-04-29 10:32:46
阅读次数:
443
unit MainUnit;interfaceuses Windows, Messages,
SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls,
Registry;type TfrmMain = ...
分类:
编程语言 时间:
2014-04-29 10:32:46
阅读次数:
436
引入和FMDB第三方类库,
demo地址:http://pan.baidu.com/s/1c0pbfxA 1 #define dataBasePath
[[(NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMas...
分类:
数据库 时间:
2014-04-29 10:28:47
阅读次数:
601
+ (instantClass *)sharedClient {static instantClass
*_sharedClient = nil;static dispatch_once_t
onceToken;dispatch_once(&onceToken, ^{_sharedClient = ...
分类:
移动开发 时间:
2014-04-29 10:27:47
阅读次数:
419
ARC与MRC的block有着一些区别,笔记整理ARC的block,仅仅是自己参考的笔记,详情请参考
http://www.cnbluebox.com/?p=255在开始之前,请新建一个Model类,写几个如下的属性,用于后面测试block的特性.Block的类型与内存管理根据Block在内存中的位...
分类:
其他好文 时间:
2014-04-29 10:27:47
阅读次数:
480