echo ""; echo ""; echo ""; echo ""; if(!is_admin){echo "";} » Java 仲子说

欢迎您光临我的个人网站!


2009-07-28

使用Eclipse3.4编译部署Hadoop/Hbase工程时需要修正的BUG

Posted in Java, FreeBSD/Unix服务器 at 22:06 by 仲远

标签:
Zhongyuan Wang

97100fe403b8

?????????Eclipse3.4??????Hadoop?????Hbase???????????????Hadoop???????????????Hadoop??????????????
1?Hadoop???Linux/Unix???????
?????Windows???Eclipse???Hadoop???????Linux??????????????Linux???Eclipse??Hadoop?
2?????software update
http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site/
http://download.eclipse.org/technology/subversive/0.7/update-site/
3?SVN????????
Hadoop: http://svn.apache.org/repos/asf/hadoop/common
????...查看全文

2009-07-26

Ubuntu下使用Java调用IKAnalyzer中文分词程序失效的解决方法

Posted in Java, FreeBSD/Unix服务器 at 20:12 by 仲远

标签:

IKAnalyzer??lucene2.0??API?????????????????????????Lucene Analyzer?????????mmseg4j-1.7.2????????????????????IKAnalyzer????????????????????IKAnalyzer????????????
??IKAnalyzer???????????????
/**
* ?????????????List???????????????String????????????
*/
public static ArrayList<String> testJe(String testString) throws Exception {
        ArrayList<String> tokenList = new ArrayList<String>();
    &nb...查看全文

2009-07-22

Eclipse

Posted in Java, FreeBSD/Unix服务器, 热门话题 at 16:54 by 仲远

标签:
Eclipse

Sun?????Java???????????????????????????????????????????????????????????????????IBM???Eclipse???????????????Java???????Eclipse???????????“?????”????IBM?????IDE????????????Sun????????????????????Sun?????Eclipse?????IT??????????
??????????Eclipse?????Hadoop???????????????Hadoop???????????????Hadoop??????????????
1?Hadoop???Linux/Unix???????
?????Windows???Eclipse???Hadoop???????Linux??????????????Linux???Eclipse??Hadoop?
2?????software update
http://www.polario...查看全文

2009-07-19

对树形索引使用深度遍历的一个例子

Posted in Java at 23:28 by 仲远

标签:

?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
package com.databese.index.bplustree;
 
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
 
import com.databese.index.util.Const;
import com.databese.index.util.Function;
 
/**
*
*  ???????????????????XML??
*
...查看全文

2009-05-27

一个容易被忽视的Java整数溢出错误:无法正确获得年份之差的原因

Posted in Java at 13:17 by 仲远

标签:

??????????????????????????????????????C????????????int???????????????????????C??????????????????C????int???????-32768~32767???java??int???????????-2147483648 ?2147483647??????????????????????????????java?????????????????????????????????????????????
???????????????????????????????????????????????????????????????????????????????????????????????????long???????????????????????????????
SimpleDateFormat sdf=new SimpleDateFormat(”yyyy-MM-dd HH:mm:ss”);  
Date date = ...查看全文

2009-04-21

Oracle最终收购了Sun,Mysql未来会停止继续研发吗?

Posted in Java, 新闻点评, 热门话题 at 23:55 by 仲远

标签:

???????IBM???65?????Sun???????Sun?????IBM?????????????IBM????????
?????????????????Oracle????????74?????Sun????CEO??·???(Larry Ellison)??“????Sun???IT???????????????????????????????????????????????????????????????????????”
Oracle???Java?Solaris?Java??????????????Sun????Java???????Solaris????????Unix???????????????????Oracle????????????Oracle?????????????????????????????????????????????????
????????????????Mysql???????????Mysql?????Sun??????Oracle????????????????Mysql??...查看全文

2009-03-29

由于Java版本不同导致程序莫名其妙的挂起问题

Posted in Java at 20:34 by 仲远

标签:
由于Java版本不同导致程序莫名其妙的挂起问题

Java??????????????JDK1.4?????JDK1.6 Update13???????????????JDK/JRE???????????????JDK1.4.2??????????????????????????

??????????????????????????JDK1.6????????????????JDK????1.4??????????????????
????????????????????????????????????JDK1.6??????Eclipse????????JDK1.4???????????????????JDK1.4????????????????????????Eclipse?????????????????????????????????????????????
?????????????????????Eclipse?JDK1.4????????????Integer??????????Integer.valueOf(int i)???????Integer?????Eclipse?...查看全文

2009-03-19

传言IBM欲花费65亿美元洽购Sun公司

Posted in Java, 转载 at 15:59 by 仲远

标签:
传言IBM欲花费65亿美元洽购Sun公司

???????????????IBM???Sun???????????????????65???????IBM??????????????????

????????IBM?Sun???????????????????????????????????????IBM????Sun??65??????????Sun???????????
Sun?????Java???????????????????????????????IBM????Eclipse???????????????????????????Windows?????????????????????????????????????????????????Linux?Java?????
??????Sun??????10?????Mysql?????????????“??”??
?????????????????

...查看全文

2009-03-16

关于正则表达式匹配任意字符(包括换行符)的写法

Posted in Java at 17:21 by 仲远

标签:

???Java???????????????????????????????????????
(.*)
?????????????????????????????????????????“.”(???)?????????“\n”????????????????????????? ‘\n’ ???????????? ‘[.\n]’ ???????????????????????
([.\n]*)????????java?????????????([.\\n]*)
????????????????????????????????????????
([.|\n]*) ?? ([\n.]*)
??????????????????????????????
?????????????????????????????????????????????????????????????????????????????????
([\s\S]...查看全文

2009-03-05

在java中从字符串文本中抽取剥离出日期时间

Posted in Java at 21:45 by 仲远

标签:

???????????????String???????????????????????????????
public String run(String text) {
        String dateStr = text.replaceAll("\r?\n", " ");
        dateStr = dateStr.replaceAll("\\s+", " ");       
       
        try {
           
          ...查看全文

Pages (3): [1] 2 3 »