今天发现自己连Bundle类都没有搞清楚,于是花时间研究了一下。根据google官方的文档(http://developer.android.com/reference/android/os/Bundle.html)Bundle类是一个key-value对,“A mapping from Strin...
分类:
移动开发 时间:
2015-11-10 10:46:10
阅读次数:
299
易安信笔试题分享:1 protected成员函数能被肿么调用2 “has-a” relationship是指的啥,答案有instance, reference, pointer等。。。3 int, char, short, long的字节数4 在C++中,变量用时声明是为啥5 命名空间的作用6 in...
分类:
其他好文 时间:
2015-11-09 23:59:04
阅读次数:
367
Java世界泰山北斗级大作《Thinking In Java》切入Java就提出“Everything is Object”。在Java这个充满Object的世界中,reference是一切谜题的根源,所有的故事都是从这里开始的。Reference是什么? 如果你和我一样在进入Java世界之前曾经浪...
分类:
编程语言 时间:
2015-11-08 22:27:02
阅读次数:
259
在了解WeakReference之前,先给出一段简单的代码:public class WeakReferenceTest {public static void main(String[] args) throws Exception {Object o = new Object();// 默认的构...
分类:
其他好文 时间:
2015-11-08 22:26:09
阅读次数:
204
首先给出官方文档吧:http://libevent.org,首页有个Programming with Libevent,里面是一节一节的介绍libevent,但是感觉信息量太大了,而且还是英文的-。-(当然,如果想好好用libevent,看看还是很有必要的),还有个Reference,大致就是对各个...
分类:
其他好文 时间:
2015-11-08 17:57:05
阅读次数:
321
Special relativity says: 1. the speed of light in vaccum is an invariable forall inertial frames of reference; 2. the laws of physics are the same ina...
分类:
其他好文 时间:
2015-11-08 14:36:48
阅读次数:
226
In the C++ programming language, a reference is a simple reference datatype that is less powerful but safer than the pointer type inherited from C. The name C++ reference may cause confusion, as in...
分类:
编程语言 时间:
2015-11-07 16:15:14
阅读次数:
332
适用情景:策划在用NGUI制作UI prefab时经常会使用一些临时的Atlas,然后再想改就不知道都哪些使用了。现在想修改下使用临时资源的GameObject使用方式,先选中某个prefab或者某个包含prefab的文件夹,点Tools->Find atlas reference object i...
分类:
编程语言 时间:
2015-11-07 12:10:27
阅读次数:
534
前端页面利用QUnit进行单元测试,本文参考官方文档:https://www.odoo.com/documentation/8.0/reference/javascript.html访问/web/tests页面可以看到当前所有包含测试模块的单元测试列表。自定义单元测试方法如下:1. __opener...
分类:
编程语言 时间:
2015-11-06 16:17:24
阅读次数:
249
#1231 : Border Length时间限制:1000ms单点时限:1000ms内存限制:256MB描述Garlic-Counting Chicken is a special species living around the Lake of Peking University.A Garl...
分类:
编程语言 时间:
2015-11-06 00:07:00
阅读次数:
358