会员
周边
新闻
博问
闪存
众包
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
nmgzwt
博客园
首页
新随笔
联系
订阅
管理
2017年5月
ClassPathScanningCandidateComponentProvider
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2017-05-11 15:36 nmgzwt
阅读(7)
评论(0)
推荐(0)
2016年10月
BigInteger权限判断示例
摘要: 这里我介绍一种很常用,也比较Professor的权限控制思路。把具体的权限设置为一个正整数值,如果一个用户有多个权限的话,比如1,2权限,那么我们设置值的时候就是num.setBit(1),num.setBit(2),然后把返回的num值保存在session中,要验证是否有权限的话,只要从sessi
阅读全文
posted @ 2016-10-11 15:22 nmgzwt
阅读(254)
评论(0)
推荐(0)
2016年6月
遍历Map的四种方法
摘要: public static void main(String[] args) { Map<String, String> map = new HashMap<String, String>(); map.put("1", "value1"); map.put("2", "value2"); map.
阅读全文
posted @ 2016-06-08 17:12 nmgzwt
阅读(93)
评论(0)
推荐(0)
数字大小写转化
摘要: //日期转化为大小写 public static String dataToUpper(String dateStr) { String res=""; SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd"); Date date = nul
阅读全文
posted @ 2016-06-07 11:13 nmgzwt
阅读(269)
评论(0)
推荐(0)
2016年5月
JS计算两个日期之间的天数
摘要: <head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>JS计算两个日期之间的天数</title></head><body><script type="text/JavaScript"> f
阅读全文
posted @ 2016-05-06 16:59 nmgzwt
阅读(363)
评论(0)
推荐(0)
2016年4月
枚举使用例子-摘于网络
摘要: package com.ljq.test; /** * 枚举用法详解 * * @author jiqinlin * */public class TestEnum { /** * 普通枚举 * * @author jiqinlin * */ public enum ColorEnum { red,
阅读全文
posted @ 2016-04-14 09:04 nmgzwt
阅读(122)
评论(0)
推荐(0)
2016年3月
MyEclipse Blue Edition 6.5 注册码生成程序
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2016-03-22 17:17 nmgzwt
阅读(5)
评论(0)
推荐(0)
公告