1.RuntimeExceptionpublic class RuntimeException
{ public static void main(String[] args) { // TODO Auto-generated method stub
String ...
分类:
编程语言 时间:
2014-06-03 04:47:09
阅读次数:
352
链接: http://acm.hrbust.edu.cn/index.php?m=ProblemSet&a=showProblem&problem_id=2116
Description
Wind and his GF(game friend) are playing a small game. They use the computer to randomly generated a nu...
分类:
其他好文 时间:
2014-06-03 02:17:13
阅读次数:
252
public void doSave(IProgressMonitor monitor) {
// TODO Auto-generated method stub performSave(monitor, getEditorInput());
自定义的一个save函数,作...
分类:
其他好文 时间:
2014-05-29 07:56:21
阅读次数:
240
自己写了正向反向的冒泡排序,还用了静态和NEW方法实现。import
java.util.Arrays;public class HelloJava { public static void main(String[] args)
{ // TODO Auto-generated...
分类:
编程语言 时间:
2014-05-26 09:05:27
阅读次数:
321
free pascal
错误代码表为了方便对照检查运行时错误代码,这里把所有的错误代码的含义整理出来。(最大序号为232,中间不一定连续。user.pdf P175)Run-time
errors Applications generated by Free Pascal might generat...
分类:
其他好文 时间:
2014-05-25 02:05:12
阅读次数:
558
public void doSave(IProgressMonitor monitor) { //
TODO Auto-generated method stub performSave(monitor, getEditorInput());
getCommandStack()...
分类:
编程语言 时间:
2014-05-24 10:30:59
阅读次数:
365
如果可变字符串操作较多的话,用STRINGBUILDER显然优势得多。public class
HelloJava { public static void main(String[] args) { // TODO Auto-generated
method stub ...
分类:
编程语言 时间:
2014-05-24 09:00:10
阅读次数:
328
代码如下,在多线程AsyncTask类中的doInBackground调用Jsoup
protected String doInBackground(String... params) {
// TODO Auto-generated method stub
Log.i(TAG, "doInBackground(Params... params) called");
tr...
分类:
编程语言 时间:
2014-05-23 00:54:53
阅读次数:
475
Problem 2: Even Fibonacci numbers
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be:
1, 2,...
分类:
其他好文 时间:
2014-05-22 23:29:44
阅读次数:
435
1、在fragment的代码中 @Override public void
onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub
super.onCreate(save...
分类:
其他好文 时间:
2014-05-22 13:48:05
阅读次数:
197