Map params = new HashMap();params.put("fromUser", "lesliefang");params.put("toUser", "xiaojun");JsonObjectRequest newMissRequest = new JsonObjectReque...
分类:
移动开发 时间:
2014-07-02 20:48:17
阅读次数:
286
解决emacs中cscope的定义键无效1、cscope的el插件为xcscope.el,通过“sudo find / -name xcscope.el”查找该文件所在的位置2、打开xcscope.el查找“(define-key cscope:map "\C-css" 'cscope-find-t...
分类:
其他好文 时间:
2014-07-02 18:32:30
阅读次数:
546
GIS的开发中,什么时候都少不了地图操作。ArcGIS for Android中,地图组件就是MapView,MapView是基于Android中ViewGroup的一个类(参考),也是ArcGIS Runtime SDK for Android中的地图容器,与很多ArcGIS API中的Map、M...
分类:
移动开发 时间:
2014-07-02 17:57:31
阅读次数:
314
2014-07-0212:00:19package com.example.getshareperference;import java.util.Map;import android.content.Context;import android.content.SharedPreferences;...
分类:
其他好文 时间:
2014-07-02 17:20:48
阅读次数:
215
介绍一些关于Gvim(windows 7系统 Vim 7.4)的基本配置,除了特别说明,代码一律添加在安装目录下的_vimrc文件中。1、取消自动备份:set nobackup2、F4一键添加作者信息:map :call TitleDet()'sfunction AddTitle() c...
分类:
其他好文 时间:
2014-07-02 17:12:17
阅读次数:
214
1. [代码]首先是借口定义 * @author xzfpublic interface MyDeque { * insert the specified element at the front of this deque if it is possible * to do so...
分类:
其他好文 时间:
2014-07-02 17:07:48
阅读次数:
237
1.购物车类的设计
ShoppingCartItem:书的封装,包括书名,数量,价格三个属性,以及对应的getter和setter方法。
ShoppingCart:购物车封装类,items为 Map ,以及加入购物车,得到购物车中书的总数量以及总价格三个函数。
2:jsp加入购物车,超链接中带入书名以及价格
您已经将
加入到购物车中,购物车中有
本书,总价格是...
分类:
其他好文 时间:
2014-07-02 16:49:49
阅读次数:
167
方法说明Restrictions.eq=Restrictions.allEq利用Map来进行多个等于的限制Restrictions.gt>Restrictions.ge>=Restrictions.lt<Restrictions.le<=Restrictions.betweenBETWEENRest...
分类:
系统相关 时间:
2014-07-02 13:57:05
阅读次数:
168
insertintoproducts(prod_id,prod_name,pro_price)values(‘avno1‘,‘.5tonanvil‘,5.99);insertintoproducts(prod_id,prod_name,pro_price)values(‘avno2‘,‘1tonanvil‘,9.99);insertintoproducts(prod_id,prod_name,pro_price)values(‘avno3‘,‘2tonanvil‘,14.99);insertintoprodu..
分类:
数据库 时间:
2014-07-02 10:56:20
阅读次数:
216
测试参数:sysbench--test=/root/sysbench0.5/sysbench/tests/db/insert.lua
--mysql-table-engine=innodb--oltp-table-size=1000000
--max-requests=0--max-time=300--num-threads=16
--oltp-tables-count=10--report-interval=10
--mysql-host=10.8.8.100--mysql-port=3312--..
分类:
数据库 时间:
2014-07-02 06:44:36
阅读次数:
280