Package net.reduls.igo.trie
Interface Searcher.Callback
- Enclosing class:
Searcher
public static interface Searcher.Callback
common-prefix検索でキーが見つかった場合に呼び出されるコールバッククラスのインターフェース
-
Method Summary
Modifier and TypeMethodDescriptionvoidcall(int start, int offset, int id) eachCommonPrefixメソッドで該当するキーの部分文字列が見つかった都度に呼び出されるメソッド
-
Method Details
-
call
void call(int start, int offset, int id) eachCommonPrefixメソッドで該当するキーの部分文字列が見つかった都度に呼び出されるメソッド- Parameters:
start- 入力テキストの検索開始位置offset- 一致した部分文字列の終端位置id- 一致した部分文字列のID
-