深入lucene3.5源码
收藏

深入lucene3.5源码

分享到: Sina Tec

最近更新文章

lucene3.5之SmallFloat

package org.apache.lucene.util; /** * Copyright 2005 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file ex ...
deepfuture 评论(0) 有2307人浏览 2012-03-26 09:21

lucene 3.5之SimpleStringInterner

public class SimpleStringInterner extends StringInterner 可看出SimpleStringInterner提供一个简单的字符串引用缓存,节约内存,保证同一值的字符串使用同一段内存空间,因为使用了intern,所以继承自StringInterner package org.apache.lucene.util; /** * Licensed t ...
deepfuture 评论(0) 有2082人浏览 2012-03-23 10:25

lucene3.5之ToStringUtils

package org.apache.lucene.util; /** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.  See the NOTICE file distributed with * this work for addi ...
 
deepfuture 评论(0) 有1690人浏览 2012-03-22 17:25

lucene3.5之StringHelper

这个类主要是完成2个功能: 1、版本号比较 2、生成字符串实例 package org.apache.lucene.util; import java.util.Comparator; import java.util.StringTokenizer; /** * Licensed to the Apache Software Foundation (ASF) under one or mor ...
 
deepfuture 评论(0) 有1689人浏览 2012-03-21 14:54

lucene3.5之StringInterner

首先讲解关于java的intern public String intern()返回字符串对象的规范化表示形式。 一个初始时为空的字符串池,它由类 String 私有地维护。 当调用 intern 方法时,如果池已经包含一个等于此 String 对象的字符串(该对象由 equals(Object) 方法确定),则返回池中的字符串。否则,将此 String 对象添加到池中,并且返回此 Strin ...
 
deepfuture 评论(1) 有1820人浏览 2012-03-21 12:15

lucene的until包当前lucene的版本号

首先介绍一下Java中枚举实现: public enum Color{      RED,BLUE,BLACK,YELLOW,GREEN  }  显然,enum很像特殊的class,实际上enum声明定义的类型就是一个类。 而这些类都是类库中Enum类的子类(java.lang.Enum<E>)。它们继承了这个Enum中的许多有用的方法 我们可以如下定义枚举常量(实质是一个类对象 ...
 
deepfuture 评论(0) 有3087人浏览 2012-03-21 11:54

LucenePackage 包获取当前lucene包信息

package org.apache.lucene; /** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.  See the NOTICE file distributed with * this work for additiona ...
deepfuture 评论(0) 有1922人浏览 2012-03-21 11:16
  • 专栏创建者:deepfuture
  • 创建时间:2012-03-24 14:09:12
  • 专栏文章数:7篇
  • 专栏被浏览:14597 次

本专栏热门文章

最新评论

然后呢?这些不是javaAPI的介绍么?用intern跟 String s = "abc&q ...
BuN_Ny 评论了 lucene3.5之StringInterner
Global site tag (gtag.js) - Google Analytics