- 博客(5)
- 收藏
- 关注
原创 封装一个使用Lucene API的通用搜索函数
[code="java"] public interface DocFetcher { public T get (Document doc); } private IndexSearcher searcher; private Analyzer analyzer; /** * @param fields - fields that this search bases...
2010-06-03 11:55:18
171
Implementing my own String in C++
Actually, this class has mixed together the basic functionalities of a String and those of a StringBuffer... [size=medium][b]Header:[/b][/size] [code="c++"] #ifndef STRING_H_ #define STRING_H_ ...
2008-11-25 13:26:14
99
泛型DAO(翻译)
[size=24][color=brown]泛型DAO[/color][/size] 原文地址:[url]http://www.hibernate.org/328.html[/url] [color=darkred]由于本人能力有限,加上来不及校对, 难免有些地方出现错误或者表达得不是特别准确,欢迎批评指正.[/color] 这是一个来自[url=http://caveatemp...
2007-12-27 02:34:45
240
原创 ParameterizedType
[code](Class ) ((ParameterizedType) getClass() .getGenericSuperclass()).getActualTypeArguments()[0];[/code] the code above causes a cast exception: [code]java.lang.Class cannot be cast to java.l...
2007-12-24 14:35:03
125
原创 JSF: Managed Bean VS. Backing Bean
(Quoted from [url=http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=82&t=000951]here[/url]) Managed bean is about how the bean is created and initialized. As you know, jsf uses t...
2007-12-17 16:07:51
185
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人