Android Studio version 1.0.0 ReleasedMuch waited Android studio V1 is out. Well, if you are android dev, and do android as your day job, you should no...
分类:
移动开发 时间:
2015-03-18 20:16:44
阅读次数:
177
第一次看到stack,以为它是一个和vector同等地位的容器,其实不是官方解释:stacks are a type of container adaptor, specifically designed to a LIFO context(last-in-first-out), where ele...
分类:
编程语言 时间:
2015-03-18 19:47:53
阅读次数:
228
理解继承是理解面向对象程序设计的关键。在Java中,通过keywordextends继承一个已有的类,被继承的类称为父类(超类,基类),新的类称为子类(派生类)。在Java中不同意多继承。(1)继承class Animal{ void eat(){ System.out.println("Ani.....
分类:
编程语言 时间:
2015-03-18 15:23:29
阅读次数:
149
在用CI 开发微信公众号的时候出现下面这么个问题,网上看了一圈解决办法是:把报错的文件用editplus另存为utf-8。Severity: WarningMessage: Cannot modify header information - headers already sent by (out...
分类:
Web程序 时间:
2015-03-18 13:58:30
阅读次数:
149
参考地址:http://blog.csdn.net/huang_xw/article/details/7058296
【遍历文件目录】
public void printFileList(File file, int count){
if (file.isDirectory()) {
System.out.println(printTab(count) + "-" + file....
分类:
编程语言 时间:
2015-03-18 12:30:44
阅读次数:
191
由于每个点的状态受到其自身和周围四个点的影响,所以可以这样建立异或方程组:引用题解:http://hi.baidu.com/ofeitian/item/9899edce6dc6d3d297445264题目大意:给你一个5*6的矩阵,矩阵里每一个单元都有一个灯和一个开关,如果按下此开关,那么开关所在位...
分类:
其他好文 时间:
2015-03-18 10:22:36
阅读次数:
135
packagecom.zzq;publicclassTestGoTo{/***不建议在工作使用不便于理解*但是能正常运行的*/publicstaticvoidmain(String[]args){f:f("s");}publicstaticintgetObjNumber(){returnobjNumber;}publicstaticvoidf(){System.out.println("11");}publicstaticvoidf(Strings){System.o..
分类:
编程语言 时间:
2015-03-18 06:37:59
阅读次数:
141
"How many inverted pairs" - that usually ends up with MergeSort solution (of course there are other solutions out there)def mergeSort(arr): if len(...
分类:
其他好文 时间:
2015-03-18 06:27:46
阅读次数:
94
Tuple(组元)是C# 4.0引入的一个新特性,编写的时候需要基于.NET Framework 4.0或者更高版本。在以前编程中,当需要返回多个值得方法中,常常需要将这些值放置到一个结构体或者对象中进行返回,当然也有以out/ref参数进行传递的。但是总的来说并不能真正的符合编程的需要。从而引入T...
分类:
其他好文 时间:
2015-03-18 01:07:15
阅读次数:
243
package thread_test;class A implements Runnable{ public void run() { while(true) { System.out.println("AA"); ...
分类:
编程语言 时间:
2015-03-17 23:23:37
阅读次数:
149