09 2017 档案

摘要:<html><head><title>JS+CSS实现带关闭按钮的DIV弹出窗口</title><script> function locking(){ document.all.ly.style.display="block"; document.all.ly.style.width=docume 阅读全文
posted @ 2017-09-20 18:50 Debugs 阅读(1344) 评论(0) 推荐(0)
摘要:/** * 判断年份是否为润年 * * @param {Number} year */ function isLeapYear(year) { return (year % 400 == 0) || (year % 4 == 0 && year % 100 != 0); } /** * 获取某一年份 阅读全文
posted @ 2017-09-15 17:49 Debugs 阅读(1542) 评论(0) 推荐(0)
摘要:public class TreeTest { private Integer id; private Integer pId; private String name; private List<TreeTest>children; public TreeTest() { } public Tre 阅读全文
posted @ 2017-09-09 13:37 Debugs 阅读(319) 评论(0) 推荐(0)
摘要:public static List removeDuplicateWithOrder(List list) { Set set = new HashSet(); List newList = new ArrayList(); for (Iterator iter = list.iterator() 阅读全文
posted @ 2017-09-07 19:29 Debugs 阅读(563) 评论(0) 推荐(0)
摘要:float qty=22; float mult_iss=5; float slt = (float) (qty - ( Math.floor(qty / mult_iss)* mult_iss)) ; for(int j = 0; j < Math.floor(qty / mult_iss); j 阅读全文
posted @ 2017-09-01 14:16 Debugs 阅读(185) 评论(0) 推荐(0)