(1)项目导入JAR包:
1、在项目EC或MYec里,将外部jar包拷贝在个libs目录里面。老的项目没有lib目录,活着叫lib,会报错,要改成libs
2、右键点击项目,Bulid Path->Configure Build Path
3、在设置Libraies项,选择刚才的位置添加jar包。
3、在Order and Export项里,将外部jar包选中。(很...
分类:
移动开发 时间:
2014-10-03 16:46:04
阅读次数:
230
In order to print Card objects in a way that people can easily read, we need a mapping from the integer codes to the corresponding ranks and suits. A ...
分类:
其他好文 时间:
2014-10-03 16:16:04
阅读次数:
206
Given an array where elements are sorted in ascending order, convert it to a height balanced BST.
/**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* ...
分类:
其他好文 时间:
2014-10-03 15:40:04
阅读次数:
186
今天遇到一个客户的数据更新问题,两个相关联的表,一个主表用于保存单据主要信息,一个副表用于保存单据的明细信息;现在要把主表的其中一个字段的数据更新到副表的一个字段中保存。假设:A表是主表,有单号order_id、开单人operator、开单日期oper_date、备注memo等;B表是副表,有单号o...
分类:
数据库 时间:
2014-10-02 19:31:33
阅读次数:
182
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2014-10-02 02:34:02
阅读次数:
227
--原始数据select prd_type_id, sum(amount) from ALL_SALES where year = 2003 and amount is not null group by prd_type_id order by prd_type_id;--可以计...
分类:
其他好文 时间:
2014-09-30 18:59:39
阅读次数:
258
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a link...
分类:
其他好文 时间:
2014-09-30 04:40:32
阅读次数:
182
Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).
For example:
Given binary tree {3,9,20,#,#,15,7},
3
/ 9 20
...
分类:
其他好文 时间:
2014-09-29 19:55:01
阅读次数:
169
stock.picking.out 和 stock.picking.in 都是继承自stock.picking新添加columns时需要注意,在stock.picking.out和stock.picking.in里新添的column必须在stock.picking里重复定义一遍,否则即使编译通过也还...
分类:
其他好文 时间:
2014-09-29 16:01:31
阅读次数:
185
discuz-redis 扩展 轻松快速分页 避免分页瓶颈设计原理:1、起因:Discuz!X系列中,使用了SELECT * FROM pre_forum_thread WHERE fid=x AND displayorder IN ORDER BY xxx LIMIT x 这样的sql语句获取当前...
分类:
其他好文 时间:
2014-09-29 11:33:17
阅读次数:
190