reference:http://blog.csdn.net/lexinquan/article/details/6674102http://blog.csdn.net/kuyuyingzi/article/details/38351867jTemplates包含三个预定全局变量,分别是$T、$P、...
分类:
编程语言 时间:
2015-05-05 10:12:21
阅读次数:
4320
一.什么是sychronized sychronized是java中最基本同步互斥的手段,可以修饰代码块,方法,类. 在修饰代码块的时候需要一个reference对象作为锁的对象. 在修饰方法的时候默认是当前对象作为锁的对象. 在修饰类时候默认...
分类:
其他好文 时间:
2015-05-04 22:25:26
阅读次数:
128
单页版 http://docs.spring.io/spring/docs/3.1.x/spring-framework-reference/htmlsingle/ http://docs.spring.io/spring/docs/3.2.x/spring-framework-reference/htmlsingle/ http://docs.spring.io/spring/doc...
分类:
编程语言 时间:
2015-05-04 22:24:46
阅读次数:
143
元素保证是连续存储了 operator[]之类的不可以invalidate iterator了,于是COW不行了 不再是container所以swap不需要遵守不能copy/move/swap元素的规定,于是SSO可行了 reference不再是Allocator::reference了,而直接就是...
分类:
编程语言 时间:
2015-05-04 13:23:38
阅读次数:
128
打开xcode->Window->Documentation and API reference然后如下图: 下载后Product->Profile 如图:选择Automation 。。。
分类:
移动开发 时间:
2015-05-04 12:09:24
阅读次数:
190
API Reference对__block变量修饰符有如下几处解释://A powerful feature of blocks is that they can modify variables in the same lexical scope. You signal that a block can modify a variable using the __block storage typ...
分类:
其他好文 时间:
2015-05-04 12:07:38
阅读次数:
135
reference:http://www.cnblogs.com/weixing/archive/2012/02/27/2369567.html测试时我以字符流的形式下载文件,可行,前几个仅作参考protected void Button1_Click(object sender, EventArg...
分类:
Web程序 时间:
2015-05-04 08:35:31
阅读次数:
136
一、实现效果实现图片的自动轮播 二、实现代码storyboard中布局代码: 1 #import "YYViewController.h" 2 3 @interface YYViewController () 4 @property (weak, nonatomic) IBOutl...
分类:
移动开发 时间:
2015-05-03 18:44:08
阅读次数:
140
reference:http://www.cnblogs.com/24la/p/osql.htmlosql简单用法:用来将本地脚本执行,适合sql脚本比较大点的情况,执行起来比较方便1osql -S serverIP -U sa -P 123 -i C:\script.sqlserverIP数据库实...
分类:
数据库 时间:
2015-05-03 15:51:37
阅读次数:
266
WeakMemoryCache 源码:
BaseMemoryCache参见:http://blog.csdn.net/woliuyunyicai/article/details/45330867
/**
* Memory cache with {@linkplain WeakReference weak references} to {@linkplain android.graphic...
分类:
移动开发 时间:
2015-05-03 12:05:32
阅读次数:
230