08 2016 档案

摘要:You often won’t need to use application events, but it can be handy to know that they exist. Internally, Spring Boot uses events to handle a variety o 阅读全文
posted @ 2016-08-31 09:39 GrandKai 阅读(1340) 评论(0) 推荐(0) 编辑
摘要:1、系统自动生成 SpringApplication.run(XX.class, args); 2、创建SpringApplication对象 SpringApplication app = new SpringApplication(DemoApplication.class); app.setBannerMode(Banner.Mode.OFF); app.run(); 3、Fluent... 阅读全文
posted @ 2016-08-30 16:44 GrandKai 阅读(6732) 评论(0) 推荐(1) 编辑
摘要:BroadcastReceiver所对应的广播分两类:普通广播和有序广播。 (1)普通广播所有的receivers接收器的执行顺序不确定。 因此,所有的receivers接收器接收broadcast的顺序不确定。 (2)有序广播通过在intent-filter中设置android:priority属 阅读全文
posted @ 2016-08-23 11:34 GrandKai 阅读(179) 评论(0) 推荐(0) 编辑
摘要://千分位分隔符 showThousand:function(num){ if($.isNull(num)==false){ num=String(num); if(/^-?\d+\.?\d+$/.test(num)) { //判断输入内容是否为整数或小数 if (/^-?\d+$/.test(nu 阅读全文
posted @ 2016-08-01 15:16 GrandKai 阅读(238) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示