上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: 1.先安装JDK2.再安装tomcat,Tomcat需要JDK支持3.安装eclipse开发工具,接着整合tomcat与jdk到eclipse上(先加tomcat到server再指定的jdk到tomcat) 变量名:【JAVA_HOME】变量值:【C:\Program Files\Java\jdk1 阅读全文
posted @ 2016-07-28 09:47 Kevin_Zhou_9 阅读(185) 评论(0) 推荐(0) 编辑
摘要: package com.xuyw.wx.util;import java.io.BufferedReader;import java.io.DataOutputStream;import java.io.IOException;import java.io.InputStreamReader;imp 阅读全文
posted @ 2016-07-28 09:46 Kevin_Zhou_9 阅读(323) 评论(0) 推荐(0) 编辑
摘要: package com.xuyw.wx.util;import net.sf.json.JSONObject;import com.xuyw.wx.config.Config;/** * 百度工具类 ** @author xuyw * @email xyw10000@163.com * @date 阅读全文
posted @ 2016-07-28 09:45 Kevin_Zhou_9 阅读(1144) 评论(0) 推荐(0) 编辑
摘要: List 阅读全文
posted @ 2016-07-06 21:23 Kevin_Zhou_9 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 插入整数 阿里云db.app_config.update({"name":"goldingot"},{$set:{"number"NumberInt(10)}}) 本地db.getCollection('app_config').insert({ name:"goldingot", number:1 阅读全文
posted @ 2016-06-20 19:59 Kevin_Zhou_9 阅读(192) 评论(0) 推荐(0) 编辑
摘要: int intTime=Integer.valueOf(time); int h=intTime/3600; int m=(intTime%3600)/60; int s=(intTime%3600)%60; 阅读全文
posted @ 2016-06-07 19:09 Kevin_Zhou_9 阅读(711) 评论(0) 推荐(0) 编辑
摘要: /** * 将Json对象转换成Map * * @param jsonObject * json对象 * @return Map对象 * @throws JSONException */ public static Map toMap(String jsonString) throws JSONEx 阅读全文
posted @ 2016-06-02 21:54 Kevin_Zhou_9 阅读(1045) 评论(0) 推荐(0) 编辑
摘要: 以sadd序列化后存进缓存: for (Room room : roomList) { String strrid=room.getRid();//获取房间id Map parse = Document.parse(JSON.toJSONString(room));//转map<String,Str 阅读全文
posted @ 2016-06-02 21:46 Kevin_Zhou_9 阅读(1314) 评论(0) 推荐(0) 编辑
摘要: Room需要先实现序列化implements Serializable ArrayList<Room> list=null; roomList = getDaoRoomListData(filterParams, sort, order, skip, limit); List<String> rid 阅读全文
posted @ 2016-06-02 21:09 Kevin_Zhou_9 阅读(2726) 评论(0) 推荐(0) 编辑
摘要: list排序: //对list排序 @SuppressWarnings("rawtypes") public void order(List<Room> list){ Collections.sort(list,new Comparator<Room>() { @Override public in 阅读全文
posted @ 2016-06-02 20:54 Kevin_Zhou_9 阅读(516) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页