- 博客(13)
- 资源 (2)
- 收藏
- 关注
spring in action 3 野人翻译,no.001
prefaceWow! As I write this, it’s been almost seven years since Spring 1.0 was released and Ryan Breidenbach and I started work on the first edition of Spring in Action. Back then, who would have gu...
2013-05-28 03:13:21 100
原创 mysql 时间
http://www.blogjava.net/chenlb/archive/2012/03/12/128925.htmlhttp://www.thinksaas.cn/group/topic/120/http://blog.csdn.net/chenjianhui2122/article/details/8205012http://www.linuxidc.com/Lin...
2013-05-28 00:47:05 49
原创 mysql 合并两个结果集
[code="java"]select status, count(status),langtypefrom card.card_verifygroup by status, langtypehaving status in(30,31,1)unionselect status, count(status),3 as langtypefrom card.card_v...
2013-05-23 15:08:57 587
原创 csv调研
supercsv:下面这个不能用试用了中文的几个1.5版的代码,都是乱码,这个工程08年的,很久没更新了对应的jar,SuperCSV-1.52.jar[code="java"]public class OperateCsv { /** * 读取csv文件(不带头部) * * @param file File * @return csv文件...
2013-05-10 22:26:53 91
原创 字符编码处理charset
[code="java"]输出本机编码环境:UTF-8 System.out.println(Charset.defaultCharset().displayName());[/code]
2013-05-10 20:59:04 64
原创 剔除某些冲突包
[code="java"]冲突包: com.jingwei biz-passport 1.0.0-SNAPSHOT com.jingwei card-data 0.0.1-SNAPSHOT 改进包: com.jingwei card-data ...
2013-05-10 19:23:54 88
原创 long数组与Long数组转换
[code="java"]Set idsSet = new HashSet(); //过滤没有详情的id for(Entry entry : userProfileMap.entrySet()){ UserProfile userProfile = entry.getValue(); if (userProfile == null) { continue;...
2013-05-09 23:54:41 2256
原创 resin内网互相访问
要想自己以ip的方式访问本机,resin的配置[code="java"] [/code]要想提供给别人访问,需要别人修改他的Host我的ip:访问地址
2013-05-07 20:42:44 206
原创 当出现包冲突的时候解决方法
由于包冲突,或者一开始加载一些不用到的包导致的异常,可以在配置文件中加上default-lazy-init="true",让项目用到哪个bean再加载。[code="java"] [/code]...
2013-05-07 19:57:21 196
原创 list中对象、值保存的解释
[code="java"]package com.lee.list;import java.util.ArrayList;import java.util.List;import org.junit.Test;import com.lee.model.Person;public class ListAddChangeList { /*[com.l...
2013-05-06 00:43:16 632
原创 20130504-堆排序
wiki中的算法,改用了list做[code="java"]package com.lee.sort;import java.util.ArrayList;import java.util.List;public class HeapSort2List2 { private static List sort = new ArrayList(); ...
2013-05-04 22:25:05 59
原创 效率不高的前三占坑法
[code="java"]/** * @Description: 统计每个小时的top情况,返回当前小时List中的前三名 * @From: buildPersonalSimpleStaticsList * @Parameters: : * @Author:lijiandong, jiandong.li@renren-inc.com * @Version: 1.0...
2013-05-04 14:31:45 86
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人