关键字: MUD http://www.pkuxkx.net/ (MUD 北大侠客行
稳定开放十余年的免费MUD游戏!) www.douban.com/group/topic/2288338/ 侠客行MUD站 Insider Trading?
内幕交易 http://traceinves...
分类:
Web程序 时间:
2014-06-11 11:54:51
阅读次数:
356
JAVA中引用com.sun.awt.AWTUtilities时报错的解决办法[转]在Eclipse中设置如下就可以了:When
using com.sun.awt.AWTUtilities, Eclipse gives a error:- Access restriction: The
metho...
分类:
编程语言 时间:
2014-06-11 10:50:44
阅读次数:
444
Liskov Substitution Princple, LSPFor every
object "o1" from type "t1", there is object "o2" from type "t2", when all "o2"
is replaced with "o1" in pro...
分类:
其他好文 时间:
2014-06-11 08:52:44
阅读次数:
221
题目:http://poj.org/problem?id=1328注意 输出 Case
:这里是有个空格的。。和之前序列想法差不多 尽可能 向一边贪心。#include #include #include #include #include
#include #include #include #i...
分类:
其他好文 时间:
2014-06-11 08:00:13
阅读次数:
252
题目描述In the Game Red Alert, a group of soviet
infantry marches towards our base. And we have N Prism Tanks to defend our base.
Suppose the coming infan...
分类:
其他好文 时间:
2014-06-11 07:18:54
阅读次数:
285
在前几个章节中使用了Comparable作为比较函数。比如对于字符串,就是按字母表的顺序进行排序。有时候想要换一种比较方式,该怎么实现呢?
在Java中可以使用Comparator比较器,以下代码展示了字符串之间不同的比较方式。
String[] a;
...
Arrays.sort();
...
Arrays.sort(a, String.CASE_INSENSITI...
分类:
其他好文 时间:
2014-06-08 15:37:08
阅读次数:
201
@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
// Respond to the action bar's Up/Home button
case android.R.id.home:
//这里写重写的方法 一定要retrun ...
分类:
其他好文 时间:
2014-06-08 10:39:02
阅读次数:
278
业务用例与系统用例具有相同的特征,因此编写和评审用例的方法对两者都适用。在业务用例中说明的东西,也会在系统用例中说明。这形成了系统用例和用户用例之间的合作。但这样带来了两个坏消息。
第一:编写者和读者经常把二者弄混,可能把系统行为放入业务用例中,也可能把业务操作归于系统用例。如果能够商量着去做将会有所帮助。但通常编写者和读者不会认识到这样做的重要性。使用系统用例的读者批评业务用例所处层次太高,但却没有认识到提供系统详细的行为细节不是业务用例应该做的;业务用例编写者偶尔把系统行为细节写入其中,结果导致业务主...
分类:
其他好文 时间:
2014-06-08 10:24:57
阅读次数:
145
题目
Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2.
For example,
Given:
s1 = "aabcc",
s2 = "dbbca",
When s3 = "aadbbcbcac", return true.
When s3 = "aadb...
分类:
其他好文 时间:
2014-06-08 09:14:26
阅读次数:
215
直接进入主题!1. 三元表达式: 由3个数据参与的表达式.二元表达式: 算术表达式一元表达式:
自增自减.2. 三元表达式的语法:bool表达式?值1:值2;int i = 10; i > 0 ? 100 : 200;3.
三元表达式的结果.如果bool表达式的结果为true 那么这个三元表达式的结...
分类:
其他好文 时间:
2014-06-07 17:00:37
阅读次数:
212