display.remove ( myObject )myObject = nil --set reference to nil!--ORmyObject:removeSelf()myObject = nil --set reference to nil!--ORmyGroup:remove( .....
分类:
其他好文 时间:
2015-04-14 08:27:11
阅读次数:
107
引文不太好,但是通过别的版本的查看,发现spring的文档真心不错,内容详细明了。http://docs.spring.io/spring/docs/3.2.5.RELEASE/spring-framework-reference/html/jdbc.html
分类:
编程语言 时间:
2015-04-14 00:21:49
阅读次数:
186
1. 内在管理三种方式:GC(GarbageConnection): 和Java类似,在程序执行过程中,由程序准确的将内在垃圾回收.Reference Count(引用计数):类似于C++的共享指计,会C++的都懂,当一段内在被申请后,就会记录这段内存被使用次数.当次数为0时,被申请的内在就会被释放...
分类:
其他好文 时间:
2015-04-13 09:18:08
阅读次数:
122
interface MyConstants { int r =42; int s = 69; int Area; //插入代码 final double circumference = 2 *Math.PI*r ; //Cannot reference a fie...
分类:
编程语言 时间:
2015-04-13 00:15:27
阅读次数:
200
利用boost.deadline_timer() 可以很方便的实现定时器功能,详情参考:http://www.boost.org/doc/libs/1_57_0/doc/html/boost_asio/reference/deadline_timer.html...
分类:
其他好文 时间:
2015-04-11 17:56:20
阅读次数:
574
先看官方文档:?http://docs.spring.io/spring-security/site/docs/4.0.x/reference/htmlsingle/ spring security4已经加入了注解的方式,但是为了比较清晰了解,还是使用了配置的方式。 第一步:web.xml 加入拦...
分类:
编程语言 时间:
2015-04-11 11:59:41
阅读次数:
437
一些曾经自己没注意到的1.error handling :: When methods return an error parameter by reference, check the returned value, not the error variableNSError *error = n...
分类:
其他好文 时间:
2015-04-11 11:38:12
阅读次数:
124
代码块在其他的语言中都或多或少接触过一些,如perl中sort{$a$b}keys,传入代码块实现按数值排序,在swift中用到闭包,更加深入学习到training closure、capturing value等代码风格,对代码块有了深入的了解,并且意识到代码块是引用类型(Reference Ty...
分类:
其他好文 时间:
2015-04-11 01:13:44
阅读次数:
195
autorelease 是一种支持引用计数的内存管理方式 它可以暂时的保存某个对象(object),然后在内存池自己的排干(drain)的时候对其中的每个 对象发送release消息 注意,这里只是发送release消息,如果当时的引用计数(reference-counted)依然不为0,则该 对....
分类:
其他好文 时间:
2015-04-10 17:15:37
阅读次数:
127
本文转自:http://www.codeproject.com/Reference/720512/List-of-Visual-Studio-Project-Type-GUIDsThere isn't an easy way to change the type of a project in Vi...
分类:
其他好文 时间:
2015-04-10 15:03:19
阅读次数:
298