|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectnet.java.sen.trie.TrieSearcher
public class TrieSearcher
Searches a Trie data file
コンストラクタの概要 | |
---|---|
TrieSearcher(java.nio.IntBuffer trieData)
Creates a TrieSearcher for the given Trie data |
メソッドの概要 | |
---|---|
int |
commonPrefixSearch(CharIterator iterator,
int[] results)
Searches for Trie keys forming a complete substring of the given sentence, starting at the given position within the sentence |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public TrieSearcher(java.nio.IntBuffer trieData)
trieData
- The data to search withinメソッドの詳細 |
---|
public int commonPrefixSearch(CharIterator iterator, int[] results)
iterator
- The character iterator to read search characters fromresults
- An array used to return the values of the found keys
java.lang.ArrayIndexOutOfBoundsException
- if results[] is too small
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |