传值和传引用
When you’re passing primitives into a method ,you get a distinct copy of the primitive. When you’re passing a reference into a method , you get a copy of the reference....
分类:
编程语言 时间:
2015-08-11 14:17:14
阅读次数:
137
1. man - an interface to the on-line reference manuals$man man2. apt - advanced package tool SEE ALSO: apt-cache, apt-get, apt.conf, sources.list$apt....
分类:
其他好文 时间:
2015-08-11 09:59:33
阅读次数:
127
hibernate.cfg.xml 中hibernate.hbm2ddl.auto配置节点如下:Hibernate Reference Documentation 3.3.1解释如下:Automatically validate or export schema DDL to the databas...
分类:
Web程序 时间:
2015-08-10 16:09:49
阅读次数:
186
智能指针概述:
智能指针用来管理动态对象。其行为类似于常规指针,重要的区别是:它负责自动释放所指向的对象。
C++ 11标准库提供两种智能指针:shared_ptr、unique_ptr
区别是:shared_ptr允许多个指针指向同一个对象;unique_ptr则独占所指向的对象。
另外,还有一种weak_ptr的伴随类,它是一种弱引用,指向shared_ptr所管理的对象。
...
分类:
编程语言 时间:
2015-08-10 12:07:49
阅读次数:
232
对于更大量的存储使用MFS分布式存储:服务概述:MFS :网络分布式文件系统Projectwebsite:http://www.moosefs.com/InstallationandusingMooseFS:http://www.moosefs.org/reference-guide.htmlmooseFS(moose驼鹿)是一款网络分布式文件系统。它把数据分散在多台服务器上,但对..
分类:
其他好文 时间:
2015-08-10 02:12:55
阅读次数:
339
velocity
velocity三种reference
变量:对java对象的一种字符串化表示,返回值调用了java的toString()方法的结果。
方法:调用的是对象的某个方法,该方法必须是public的,返回值也是toString(),方法的参数也必须为String的。
属性:除了访问java的类属性外,等价于get..()方法。
基本符号...
分类:
其他好文 时间:
2015-08-10 00:19:30
阅读次数:
115
PowerDesigner给两个表添加reference,中间显示外键信息步骤
分类:
其他好文 时间:
2015-08-09 16:52:05
阅读次数:
189
本文大部分内容翻译自 MDN内容, 翻译内容经过自己的理解。 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind Function.prototype.bind ...
分类:
其他好文 时间:
2015-08-09 00:16:02
阅读次数:
148
表 1..Android 平台支持的运动传感器。参考API 文档:http://developer.android.com/reference/android/hardware/Sensor.html#TYPE_GYROSCOPE传感器传感器事件数据说明测量单位TYPE_ACCELEROMETERS...
分类:
移动开发 时间:
2015-08-08 21:21:21
阅读次数:
230
1.@property后的修饰符strong : 该属性值对应 __strong 关键字,即该属性所声明的变量将成为对象的持有者,等同于"retain"weak : 该属性对应 __weak 关键字,与 __weak 定义的变量一致,该属性所声明的变量将没有对象的所有权,并且当对象被释放之后,对象将...
分类:
其他好文 时间:
2015-08-08 17:57:46
阅读次数:
453