上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: import junit.framework.TestCase import org.junit.Test import scala.runtime.RichByte //数据类型 class Demo2 extends TestCase { //规则1 定义整数类型变量时,默认数据类型是java中int类型 //规则2 当数值范围超过int值区间,会编译失败,需要在... 阅读全文
posted @ 2017-04-28 16:40 匹夫鹏 阅读(283) 评论(0) 推荐(0) 编辑
摘要: import junit.framework.TestCase import org.junit.Test //变量 //var 代表变量 //val 代表常量 //关键字 class,extends,def,val,var //scala中建议使用val class Demo1 extends TestCase { //VAR def testParams(... 阅读全文
posted @ 2017-04-28 16:38 匹夫鹏 阅读(409) 评论(0) 推荐(0) 编辑
摘要: //求int类型N值的阶乘 public static int getNumsJieCheng(int i){ int rs = 1; if(i==0||i==1){ return i; } if(i0;x--){ rs*=x; } return rs; } 阅读全文
posted @ 2017-04-20 16:04 匹夫鹏 阅读(418) 评论(0) 推荐(0) 编辑
摘要: Java算法——求出两个字符串的最长公共字符串 阅读全文
posted @ 2017-04-19 20:56 匹夫鹏 阅读(1158) 评论(0) 推荐(0) 编辑
摘要: 想要对基本类型数据进行更多的操作,最方便的方式就是将其封装成对象。 为啥呢?因为在对象描述中就可以定义更多的属性和行为对该基本数据类型进行操作。 【八种基本数据类型的包装类】 byte ——Byte short ——Short int ——Integer long-----Long float-----Float double----Double char----Character boole... 阅读全文
posted @ 2016-11-12 13:25 匹夫鹏 阅读(122) 评论(0) 推荐(0) 编辑
摘要: join()>>不带参数 线程A调用线程B.join,意思就是线程A并入了线程B,当执行完线程B,再去执行线程A后续动作 join(int keepTims)>>带参数,与上面类似,区别在于线程B保持并入线程A中有保持时间,超过改时间,两线程再次分开 案例1 案例2 案例三 阅读全文
posted @ 2016-04-05 16:29 匹夫鹏 阅读(257) 评论(0) 推荐(0) 编辑
摘要: Date.prototype.Format = function(fmt) { //author: meizz var o = { "M+" : this.getMonth()+1, //月份 "d+" : this.getDate(), ... 阅读全文
posted @ 2016-03-23 21:47 匹夫鹏 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-03-23 21:42 匹夫鹏 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 一 管理用户1 查询用户集合select username from dba_users;A 查询某个用户是否存在select username from dba_users where username='用户名'2 查询用户权限select * from dba_sys_privs where ... 阅读全文
posted @ 2015-11-26 23:01 匹夫鹏 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 将博客搬至CSDN 阅读全文
posted @ 2015-11-26 22:29 匹夫鹏 阅读(85) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页