摘要: i=0searchFile(){ myPath=$1 searchAllFile $myPath return 1}searchAllFile(){ file=$1 if [ -f $file ]; then echo file `pwd` ${file} allfile[i]=`pwd`${fil 阅读全文
posted @ 2019-06-28 11:04 chshp 阅读(316) 评论(0) 推荐(0)
摘要: git --bare init 生成空的git仓库,一般用来建立远程仓库时使用 git init 初始化git仓库 git fetch --all 获取远程数据,感觉和git pull有点像,但是它可以获得远程的分支数据 git branch -a 获取当前的所有分支,包括远程分支 git bran 阅读全文
posted @ 2019-06-16 00:33 chshp 阅读(123) 评论(0) 推荐(0)
摘要: var a:array of array of integer; i,j:integer; temp_Str:string; line:integer;begin line:=strtoint(edit1.Text); //#13#10换行符 myMemo.Lines.Text:=''; SetLe 阅读全文
posted @ 2017-10-29 00:20 chshp 阅读(255) 评论(0) 推荐(0)
摘要: //冒泡排序,两两排,不断将大或小值向后移。public int[] bubbleSort(int[] old){ for(int i=0;i<old.length;i++) { for(int j=0;j<old.length-i-1;j++) { if(old[j]>old[j+1]) { in 阅读全文
posted @ 2017-04-13 17:21 chshp 阅读(201) 评论(0) 推荐(0)
摘要: static方法中不能使用this(静态方法不能使用非静态方法和变量) java是单继承 final:修饰方法,方法不能重写;修饰类,类不能被继承。 多态:多种形态,有继承,有重写,父类引用指向子类对象 a instanceOf b判断 a是b的实例对象 抽象方法必须在抽象类中,抽象类可以存在非抽象 阅读全文
posted @ 2017-04-05 17:11 chshp 阅读(113) 评论(0) 推荐(0)
摘要: 1.可以导出自己的api 采用/** 的注释 @author @version @return。。。注解 放置信息 2.面向对象 :oop 以类的方式组织代码,以对象的方式封装数据。 3.Char:默认 ‘\u0000’ 小数:0.0 4.String不是基本数据类型,它是类。 5.实例变量系统会自 阅读全文
posted @ 2017-04-01 17:04 chshp 阅读(112) 评论(0) 推荐(0)
摘要: Switch语句:switch(a){ case 1:…,break; Case 2:…,break; Default : …,break; } 合理利用case穿透。 阅读全文
posted @ 2017-04-01 10:12 chshp 阅读(137) 评论(0) 推荐(0)
摘要: 很开心,开通了自己的博客,不用再将学习的知识点放在word里了^_^ 阅读全文
posted @ 2017-03-30 16:10 chshp 阅读(102) 评论(2) 推荐(0)