摘要: var util = { /** * 将json转换成字符串 * * @param {JSON} data json对象 */ j2s: function(data){ var that = this; try { return JSON.stringify(data); } catch(ex) { 阅读全文
posted @ 2016-12-04 17:29 追恋KG 阅读(242) 评论(0) 推荐(0) 编辑
摘要: https://segmentfault.com/a/1190000004365693 https://babeljs.io/docs/learn-es2015/ 阅读全文
posted @ 2016-11-17 15:04 追恋KG 阅读(275) 评论(0) 推荐(0) 编辑
摘要: https://zhuanlan.zhihu.com/p/20367175?columnSlug=FrontendMagazine 必须安装nodeJs: 检测PATH环境变量是否配置了Node.js,点击开始=》运行=》输入"cmd" => 输入命令"path",输出如下结果: nodeJs自带n 阅读全文
posted @ 2016-11-16 16:03 追恋KG 阅读(111) 评论(0) 推荐(0) 编辑
摘要: package mDemo; import java.util.ArrayList;import java.util.Iterator;import java.util.List; public class Test1 { /* String:字符串常量 StringBuffer:字符串变量 线程安 阅读全文
posted @ 2016-11-10 09:34 追恋KG 阅读(173) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/u011240877/article/category/6447444/1 Map 接口提供了三种角度来分析 Map: KeySet:KeySet 是一个 Map 中键(key)的集合,以 Set 的形式保存,不允许重复,因此键存储的对象需要重写 equal 阅读全文
posted @ 2016-11-01 11:44 追恋KG 阅读(204) 评论(0) 推荐(0) 编辑
摘要: package com.credithc.pda.common.utils; import java.io.Serializable; /** * @description:操作结果集 * */public class Result implements Serializable { private 阅读全文
posted @ 2016-10-24 16:01 追恋KG 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-10-18 15:05 追恋KG 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 1.查询中用到的关键词主要包含六个,并且他们的顺序依次为 select--from--where--group by--having--order by 其中select和from是必须的,其他关键词是可选的,这六个关键词的执行顺序 与sql语句的书写顺序并不是一样的,而是按照下面的顺序来执行 fr 阅读全文
posted @ 2016-10-18 14:48 追恋KG 阅读(211) 评论(0) 推荐(0) 编辑
摘要: function getElement(selector) { this.style = document.querySelecotrAll(selector).style;} getElement.prototype.color = function(color) { this.style.col 阅读全文
posted @ 2016-07-07 09:52 追恋KG 阅读(94) 评论(0) 推荐(0) 编辑
摘要: package com.credithc; import com.fasterxml.jackson.annotation.JsonAutoDetect; @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)public c 阅读全文
posted @ 2016-06-23 11:08 追恋KG 阅读(583) 评论(0) 推荐(0) 编辑