Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the two elements ...
分类:
其他好文 时间:
2016-06-28 11:01:17
阅读次数:
219
?选择或创建工作空间 Select a workspace –File – Switch Workspace - other ?选择或输入空间目录 ?新空间配置编码集合 UTF-8 ?配置Maven setting 包含私库配置的文件 –同时也修改系统MavenHome 的conf下Setting文 ...
1.静态库中包含了Category(分类) 如果静态库中包含了Category,有时候在使用静态库的工程中会报“方法找不到”的错误(unrecognized selector sent to instance) 解决方案:在使用静态库的工程中配置Other Linker Flags为-ObjC 2. ...
分类:
其他好文 时间:
2016-06-27 16:53:46
阅读次数:
146
Aggregation (HAS-A) HAS-A relationship is based on usage, rather than inheritance. In other words, class A has-a relationship with class B, if code in ...
分类:
编程语言 时间:
2016-06-26 23:51:59
阅读次数:
291
题目大意: Problem ITime Limit : 5000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 19 Accepted Submission(s) : 8Proble ...
分类:
其他好文 时间:
2016-06-26 00:25:36
阅读次数:
190
1.文件(目录)权限本身划分:读read 写write 执行execute 权限从用户的角度划分:主人权限user 同组用户权限group 其他组用户的权限other music.txt(歌词) yixun(主人) music(组) 读、写、执行 dehua music 读 xiaogang mov ...
分类:
系统相关 时间:
2016-06-24 22:03:02
阅读次数:
194
1.Hadoop1.0和2.0的区别 1.0 = hdfs + mapreduce 2.0 = hdfs + yarn + mapreduce + other dataprocess 2.软件层次 1. 分布式存储层 HDFS a,良好的扩展性 b,高容错性 c,适合PB以上的数据 组成: mast ...
分类:
其他好文 时间:
2016-06-24 18:42:04
阅读次数:
167
LruCache
初始化 /**
* @param maxSize for caches that do not override {@link #sizeOf}, this is
* the maximum number of entries in the cache. For all other caches,
* this is the max...
分类:
移动开发 时间:
2016-06-22 15:53:56
阅读次数:
346
步骤一: File->Switch workspace->Other...,按下图选择 只复制简单的配置,如cvs之类的信息是不会复制的。 步骤二: 在方法一的基础上做如下操作 将新建的workspace下的.metadata\.plugins内容全部删除,将原来的workspace下的.metad ...
分类:
系统相关 时间:
2016-06-22 12:29:28
阅读次数:
278
git 错误: $ git commit -afatal: Unable to create 'e:/git/Android/XXXXXX/.git/index.lock': File exists. If no other git process is currently running, thi ...
分类:
其他好文 时间:
2016-06-21 22:22:15
阅读次数:
162