Guava的Ordering可以说是更加强大的Javacomparator,Ordering本身就是一个继承于Comparator的接口,但是它还支持一些基于Comparator的操作例如reverse,max,min,它甚至还可以通过不同Ordering之间的组合或者链接(用Decorate的模式)完成更加强大的排序功能。创建有四种比较常见..
分类:
其他好文 时间:
2014-08-28 09:50:19
阅读次数:
154
PAT (Basic Level) Practise (中文)
分类:
其他好文 时间:
2014-08-27 23:24:08
阅读次数:
260
PAT (Basic Level) Practise (中文)
分类:
其他好文 时间:
2014-08-27 23:14:38
阅读次数:
386
【 声明:版权全部,欢迎转载,请勿用于商业用途。 联系信箱:feixiaoxing @163.com】 从我開始学习计算机開始,接触的编程语言不下十余种。除了主要的C、C++、pascal、basic之外,光是脚本语言就接触了六、七种。出现这么多语言,一方面是由于业务的须要,还有一方面也来自于企业....
分类:
编程语言 时间:
2014-08-27 21:49:48
阅读次数:
245
state in heap
state in stack.
分类:
其他好文 时间:
2014-08-27 12:30:37
阅读次数:
278
//数据库引擎,编码,字符校验码,备注create table if not exists t_basic_job ( name varchar(20) not null default '')engine=innodb DEFAULT CHARSET=utf8 collate=utf8_...
分类:
数据库 时间:
2014-08-26 19:05:36
阅读次数:
250
Incircle and CircumcircleTime Limit: 2 Seconds Memory Limit: 65536 KB Special JudgeA triangle is one the basic shapes in geometry. It's a polygon with...
分类:
其他好文 时间:
2014-08-26 19:03:46
阅读次数:
201
1.mysql的表引擎分为myisam & innodbmysiam 查询速度 比innodb 快,但是不支持事物好像myisam 不支持行锁2.有时间了 把两种引擎做个对比 ,画个表格3.修改表的引擎sql: alter table t_basic_city engine=innodb;
分类:
数据库 时间:
2014-08-26 18:56:26
阅读次数:
221
showsetting()表单显示返回值:无参数:$setname - 指定输出标题,如:setting_basic_bbname, 自动匹配描述文字为:setting_basic_bbname_comment,comment形式文字可以在./source/language/lang_admincp...
分类:
其他好文 时间:
2014-08-26 17:00:56
阅读次数:
201
Description
Given a base b and two non-negative base b integers p and m, compute p mod m and print the result as a base b integer. p mod m is defined as the smallest non-negative integer k such tha...
分类:
编程语言 时间:
2014-08-25 19:20:04
阅读次数:
230