DescriptionGiven two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcdef". If we think...
分类:
其他好文 时间:
2015-03-12 20:49:18
阅读次数:
155
Fred Mapper is considering purchasing some land in Louisiana to build his house on. In the process of investigating the land, he learned that the state of Louisiana is actually shrinking by 50 square miles each year, due to erosion caused by the Mississipp...
分类:
其他好文 时间:
2015-03-11 14:49:28
阅读次数:
144
首先要搞清楚的就是ThinkPHP3.2.3的分页类已经被移到了Think\Page.class.php,这是跟以前的版本有些不一样的,使用起来还是跟以前版本差不多,但是默认的效果不敢恭维,所以最好是自己加些样式。我加了一些样式(不怎么好看),大家可以自行的再去改进,效果图:在这里我有先把page的...
分类:
Web程序 时间:
2015-03-10 18:58:23
阅读次数:
164
thinkphp核心库解读;
thinkphp
common
common.php[Think 基础函数库]
-------------------------------------------------------------------------------------------------
功能列表:
1.// 记录和统计时间(微秒) G($start,$...
分类:
Web程序 时间:
2015-03-07 10:11:31
阅读次数:
168
1.HashSet为快速查找而设计的Set
TreeSet底层为树结构,必须要实现Comparable接口,存入的元素会按照compareTo方法中的规则排序
LinkedHashSet内部使用链表维护元素的插入次序。
2.HashMap使用对象的hashCode()进行快速查询的,此方法能够显著提高性能。
LinkedHashMap使用链表维护内部次序(插入次序)
...
分类:
编程语言 时间:
2015-03-03 22:08:23
阅读次数:
235
1.使用泛型方法可以取代将整个类泛型话,要定义泛型方法,只需将泛型参数列表至于返回值之前:
public class GenericMethods {
public void f(T x) {
System.out.println(x.getClass().getName());
}
public static void main(String[] args) {
Generi...
分类:
编程语言 时间:
2015-03-02 22:29:57
阅读次数:
229
1.25本Python电子书http://python.jobbole.com/29281/Think StatsDive Into PythonA Byte Of PythonThink ComplexityDive Into Python 3DJANGO TUTORIALBuilding Ski...
分类:
其他好文 时间:
2015-03-02 09:27:32
阅读次数:
117
CEF出来很久了,使用的也很广泛的,QQ里面很多地方都是嵌入的CEF浏览器(个人资料、微博、查找……),网上的资料也挺多的,大家可以搜搜看。
首先是下载CEF代码编译,通过里面的那两个例子你也可以依葫芦画瓢的。官方下载地址:http://cefbuilds.com/
这里推荐一个很详细的解说:http://www.cnblogs.com/think/archive/2011/10/06/CEF...
分类:
Windows程序 时间:
2015-02-26 16:40:38
阅读次数:
2401
Some people advices college stdudent shoud learn to write a blog.To record beautiful life and think
something meaning about life.
And some guys tell me that it's necessary to have a blog for a techn...
分类:
其他好文 时间:
2015-02-26 16:37:55
阅读次数:
180
Problem Description
In China, foreign brand commodities are often much more expensive than abroad. The main reason is that we Chinese people tend to think foreign things are better and we are willing to pay much for them. The typical example is, on the Uni...
分类:
其他好文 时间:
2015-02-23 15:32:28
阅读次数:
231