|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectcom.hankcs.hanlp.collection.trie.DoubleArrayTrie.Searcher
public class DoubleArrayTrie.Searcher
一个搜索工具(注意,当调用next()返回false后不应该继续调用next(),除非reset状态)
字段摘要 | |
---|---|
int |
begin
key的起点 |
int |
index
key的字典序坐标 |
int |
length
key的长度 |
V |
value
key对应的value |
构造方法摘要 | |
---|---|
DoubleArrayTrie.Searcher(int offset,
char[] charArray)
构造一个双数组搜索工具 |
方法摘要 | |
---|---|
boolean |
next()
取出下一个命中输出 |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
字段详细信息 |
---|
public int begin
public int length
public int index
public V value
构造方法详细信息 |
---|
public DoubleArrayTrie.Searcher(int offset, char[] charArray)
offset
- 搜索的起始位置charArray
- 搜索的目标字符数组方法详细信息 |
---|
public boolean next()
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |