source-over默认。在目标图像上显示源图像。source-atop在目标图像顶部显示源图像。源图像位于目标图像之外的部分是不可见的。source-in在目标图像中显示源图像。只有目标图像内的源图像部分会显示,目标图像是透明的。source-out在目标图像之外显示源图像。只会显示目标图像之外...
分类:
Web程序 时间:
2015-04-12 13:13:54
阅读次数:
246
oracle分页:select row_num() over(order by t.code,t.name)rid t.code,t.name,t.descrittionfrom (...)twhere 1=1and t.cdate between 20020202 and 20020210and....
分类:
其他好文 时间:
2015-04-11 10:13:38
阅读次数:
146
Binary Search Tree Iterator
Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST.
Calling next() will return the next smallest...
分类:
其他好文 时间:
2015-04-11 00:03:47
阅读次数:
200
SELECT * FROM (SELECT A.*, RANK() OVER(PARTITION BY A.DR_ATP_ID, A.AT_CODE ORDER BY A.KEY_CODE) RANK FROM DR_ATP...
分类:
数据库 时间:
2015-04-10 12:54:59
阅读次数:
147
Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST....
分类:
编程语言 时间:
2015-04-10 09:32:42
阅读次数:
181
思路:
本题目要实现的效果就是产生一系列广义有序的字符串序列,本来想假如知道digits字符串长度的话,可以搞一个n层循环,但是digits的长度是未知的。想了好久,想到了用递归来实现本题目要实现的功能,每个数字循环到数字所代表字符的个数大小时,返回上一级递归,然后再在上一级的循环层次计数上再加1即可。
当字符的长度等于digits的长度时,说明已经产生一组有效的字符串,存储起来,然后将最后一个字符删除,继续循环。。。。
最后,当index<0时,说明整个循环已经结束,over!但是在具体实现的过程中,递...
分类:
其他好文 时间:
2015-04-09 21:55:57
阅读次数:
130
相信大家进行客户端与网络交互的时候用Handler和Runnable的比较多吧,但是博主还是喜欢用message.what来进行不同状态的标志,以此来决定主线程决定采取用什么方法处理什么任务,老话,废话不多说,上代码:
1.Runnable,博主在Runnable中封装了一个耗时的方法
class LoadThread implements Runnable {
@Over...
分类:
其他好文 时间:
2015-04-09 19:55:25
阅读次数:
125
1. Some benchmark eye movement datasets over still images often used to evaluate visual attention models.2009Kienzle165Center-Surround Patterns Emerge...
分类:
其他好文 时间:
2015-04-09 19:30:24
阅读次数:
299
写法:假装有个表Shop,其中有一列ShopName,取100000到100050条数据。ROW_NUMBER 的写法SELECT * FROM(SELECT ShopName , ROW_NUMBER() OVER(ORDER BY ShopName) as RFROM Shop) tWHERE....
分类:
数据库 时间:
2015-04-09 16:52:00
阅读次数:
290
ROW_NUMBER() OVER(ORDER BY f.biaodanid desc) as KeyIddeclare @yymm nvarchar(10) set @yymm ='2015-04-08' select f.biaodanid '订单号',d.dingdanshuliang '订单...
分类:
其他好文 时间:
2015-04-09 15:22:24
阅读次数:
129