摘要: toLocaleUpperCase 方法 返回一个字符串,其中所有的字母字符都被转换为大写,同时适应宿主环境的当前区域设置。 stringVar.tolocaleUpperCase( )必选的 stringVar 引用是一个 String 对象,值或文字。 说明toLocaleUpperCase 方 阅读全文
posted @ 2018-01-23 16:00 小泉哥 阅读(52865) 评论(0) 推荐(1)
摘要: hashmap 与hashtable 很类似,主要区别是hashtable 有用synchronized进行线程同步,hashmap没有。然而,建议少用hashtable,在单线程中,无需做线程控制,运行效率更高;在多线程中,synchronized会造成线程饥饿,死锁,可以用concurrentH 阅读全文
posted @ 2018-01-12 11:33 小泉哥 阅读(537) 评论(0) 推荐(0)
摘要: 用containsKey(),而不用get(): HashMap中,null可以作为键,这样的键只有一个;可以有一个或多个键所对应的值为null。当get()方法返回null值时,即可以表示HashMap中没有该键,也可以表示该键所对应的值为null。因此,在HashMap中不能由get()方法来判 阅读全文
posted @ 2018-01-12 10:51 小泉哥 阅读(1820) 评论(0) 推荐(0)
摘要: position: relative css中的相对定位 阅读全文
posted @ 2018-01-06 16:29 小泉哥 阅读(139) 评论(0) 推荐(0)
摘要: 1 $('[name=roomcheck]').each(function(){ 2 if($(this).prop("checked")==true){ 3 alert(this.id);//选中的id 4 alert($("table input:checkbox").index(this));//che... 阅读全文
posted @ 2018-01-05 16:41 小泉哥 阅读(207) 评论(0) 推荐(0)
摘要: $("table input[type=checkbox]").attr("checked",true) 阅读全文
posted @ 2018-01-05 15:51 小泉哥 阅读(143) 评论(0) 推荐(0)
摘要: var iTop = (window.screen.availHeight-30-350)/2; //获得窗口的垂直位置; var iLeft = (window.screen.availWidth-10-500)/2; //获得窗口的水平位置; window.open(gotoUrl,"" ,"h 阅读全文
posted @ 2018-01-04 15:01 小泉哥 阅读(266) 评论(0) 推荐(0)
摘要: 1 package com.lct.conference.controller.MonitorManagement.cofer; 2 3 import org.apache.commons.net.ftp.FTPClient; 4 import org.apache.commons.net.ftp.FTPFile; 5 import org.apache.commons.n... 阅读全文
posted @ 2018-01-04 14:59 小泉哥 阅读(1189) 评论(0) 推荐(0)
摘要: jar -cvf test.war * 阅读全文
posted @ 2018-01-03 10:40 小泉哥 阅读(150) 评论(0) 推荐(0)
摘要: window.opener.location.reload(); 阅读全文
posted @ 2017-12-27 16:44 小泉哥 阅读(97) 评论(0) 推荐(0)