Carpets, rugs and furniture; the company deals with all of them professionally. After all this, vacuuming is done to get the moisture out thoroughly. ...
分类:
其他好文 时间:
2014-08-26 11:05:16
阅读次数:
220
文章仅记录自己的一点理解,仅供自己参考。
WindowAnimator是一个窗口动画推进类,从成员变量mAnimationRunnable可以看出来。google源码对应这个类的解释:“Singleton class that carries out the animations and Surface operations in a separate task on behalf of Win...
public static void main(String[] args) { String str="ABC_001"; if(str.indexOf("ABC")!=-1){ System.out.println("包含"); }else{ System.out.println(...
分类:
编程语言 时间:
2014-08-26 09:40:55
阅读次数:
167
Java基础总结1简单Java程序helloword。classtest//类名为test的类{publicstaticvoidmain(String[]args)//主函数程序的入口{System.out.println("HelloWorld!");//打印语句输出HelloWord语句,””英文双引号内修饰的是字符串}}在声明整型变量或定义类的名称时,可以由字母、数..
分类:
编程语言 时间:
2014-08-26 03:03:47
阅读次数:
300
链接:http://poj.org/problem?id=1094
题意&思路:直接拓扑排序。多解输出一串英文,有环输出一段英文,唯一解输出一段英文及排序结果。
细节:题目描述不是很清楚,如果不看discuss我肯定要WA出翔。
discuss里总结了两点关键的:
1. 输入一条边时如果此时拓扑有解就输出这个解,即使后面的边成有向环也不管了,所以每次输入的时候都得进行拓扑排序。...
分类:
其他好文 时间:
2014-08-25 22:58:15
阅读次数:
279
学习云风的skynet源码,简单记录下。
void
skynet_globalmq_push(struct message_queue * queue) {
struct global_queue *q= Q;
uint32_t tail = GP(__sync_fetch_and_add(&q->tail,1));
// only one thread can set the sl...
分类:
Web程序 时间:
2014-08-25 21:11:04
阅读次数:
499
1 /** 2 * 可变参数的方法重载 3 */ 4 class A { 5 public void test(int a, int b) { 6 System.out.println(a+", "+b); 7 } 8 9 public voi...
分类:
编程语言 时间:
2014-08-25 20:47:04
阅读次数:
227
Svn服务器备份昨天晚上突然想到一个问题,加入我的svn服务器的硬盘坏掉了怎么办,代码岂不是全丢了,网上查了下,有好多方法可以实现svn服务器的备份,我就试着用sync同步了下代码库里的代码:Svn服务器系统:Redhat6.4-64Svn版本:1.6Svn源码服务器地址:Svn://192.168.10.1/S..
分类:
其他好文 时间:
2014-08-25 19:28:55
阅读次数:
329
1、异常处理概述从一个读取两个整数并显示商的例子: public static void main(String args[]) { Scanner input = new Scanner(System.in); System.out.prin...
分类:
编程语言 时间:
2014-08-25 19:10:44
阅读次数:
253
1. Program -- > execute in background ---- >2. output device: MAIL ---- > PRINT OUT immediately3. setup the datetime schedule
分类:
其他好文 时间:
2014-08-25 16:20:04
阅读次数:
178