今天我们看看Nutch网页抓取,所用的几种数据结构:主要涉及到了这几个类:FetchListEntry,Page,首先我们看看FetchListEntry类:public final class FetchListEntry implements Writable, Cloneable实现了Writ...
分类:
Web程序 时间:
2014-08-22 15:59:58
阅读次数:
242
1.Eucalyptus是什么?Eucalyptus n.桉树Eucalyptus is a Linux-based software architecture that implements scalable private and hybrid clouds within your existi...
分类:
其他好文 时间:
2014-08-20 15:47:22
阅读次数:
185
private class TextView_persinal_birth_onClick implements View.OnClickListener { @Override public void onClick(View v) { DatePickerDialog.OnDateSetList...
分类:
移动开发 时间:
2014-08-20 10:24:46
阅读次数:
230
Here is a class for binary trees that directly implements the recursive definition. By extending the AbstractCollectionclass, it remains consistent with the Java Collections Framework....
分类:
其他好文 时间:
2014-08-20 00:04:26
阅读次数:
307
首先,废话少说,先上效果图:
代码:
public class MainActivity extends Activity implements OnClickListener{
private Button showBtn1;
private Button showBtn2;
@Override
protected void onCreate(Bundle save...
分类:
移动开发 时间:
2014-08-20 00:02:04
阅读次数:
312
1、ArrayList实现是基于数组来实现的,这可由ArrayList的源码看出;1 public class ArrayList extends AbstractList2 implements List, RandomAccess, Cloneable, java.io.Seri...
分类:
其他好文 时间:
2014-08-19 22:19:45
阅读次数:
277
1,看一下下面程序错误发生在哪一行!class Test implements Runnable{ public void run(Thread t){ }}2,输出结果是什么?class Test{ public static void main(String[] args){ new Th...
分类:
编程语言 时间:
2014-08-19 22:10:55
阅读次数:
292
Websocet服务端实现 WebSocketConfig.java @Configuration
@EnableWebMvc
@EnableWebSocket
public class WebSocketConfig extends WebMvcConfigurerAdapter implements WebSocketConfigurer {
@Override
...
分类:
编程语言 时间:
2014-08-19 16:58:25
阅读次数:
293
import java.io.IOException; import java.io.PipedInputStream; import java.io.PipedOutputStream; class Send implements Runnable { private PipedOutputStr...
分类:
其他好文 时间:
2014-08-19 14:16:24
阅读次数:
177
概念 每一趟在最后的n-i+1(i=1,2,...,n-1)中取最小的记录作为有序表的第i个记录 优点:算法简单,容易实现 缺点:每次只能确定一个元素 Java实现: package com.liuhao.sort; import java.util.Arrays; //定义一个数据包装类 class DataWrap implements Comp...
分类:
其他好文 时间:
2014-08-19 12:54:54
阅读次数:
186