http://blog.csdn.net/liuhe688/article/details/6532519在Android中实现异步任务机制有两种方式,Handler和AsyncTask。Handler模式需要为每一个任务创建一个新的线程,任务完成后通过Handler实例向UI线程发送消息,完成界面...
分类:
其他好文 时间:
2014-04-29 19:20:54
阅读次数:
658
本文记录Hadoop 2.x在Linux x64下重新编译的过程。环境:Centos 6.5
x64 &Hadoop 2.2一、安装编译包yum install svnyum install autoconfautomake libtool
cmakeyum install ncurses-deve...
分类:
其他好文 时间:
2014-04-29 19:19:52
阅读次数:
451
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2577解题报告:有一个长度在100以内的字符串,并且这个字符串只有大写和小写字母组成,现在要把这些字符串用键盘输入到电脑中,一开始的时候大写锁定是关闭的,并且要求结束的时候也是关闭的,然后让你求输入这些字...
分类:
其他好文 时间:
2014-04-29 19:16:47
阅读次数:
670
本站下载第二种:纯JAVASCRIPT:DW调色板
分类:
Web程序 时间:
2014-04-29 19:13:41
阅读次数:
708
package com.opensymphony.xwork2;import
com.opensymphony.xwork2.config.Configuration;import
com.opensymphony.xwork2.config.ConfigurationException;impor...
分类:
其他好文 时间:
2014-04-29 19:12:40
阅读次数:
729
思路来源:http://blog.csdn.net/sf____/article/details/24626739题目给出数据上限为200,
所以可以暴利所有区间。解题思路:for i in range(n): for j in range(n): create priority_queue...
分类:
其他好文 时间:
2014-04-29 19:11:37
阅读次数:
526
C#部分1.C#有一个internal关键字,指字段可以同一个程序集中访问,出了程序集不行。还有一个protected
internal(没有先后之分)修饰词,指只能在同一个程序集中的子类访问2.abstract和virtual修饰词: abstract用来修饰类和方法,表
抽象。抽象类中的方法可以...
分类:
编程语言 时间:
2014-04-29 19:10:37
阅读次数:
465
UIView *parentView = nil; NSArray* windows =
[UIApplication sharedApplication].windows; UIView* window = [windows
objectAtIndex:0]; ...
分类:
其他好文 时间:
2014-04-29 19:09:34
阅读次数:
994
#includeint getopt(int argc,char *const
argv[],const char *optstring); extern char *optarg; extern int
optind,opterr,optopt;optstring为一个字符列表,每个字符代表一个单...
分类:
编程语言 时间:
2014-04-29 19:07:30
阅读次数:
568