Interface Searcher.Callback

  • Enclosing class:
    Searcher

    public static interface Searcher.Callback
    common-prefix検索でキーが見つかった場合に呼び出されるコールバッククラスのインターフェース
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void call​(int start, int offset, int id)
      eachCommonPrefixメソッドで該当するキーの部分文字列が見つかった都度に呼び出されるメソッド
    • Method Detail

      • call

        void call​(int start,
                  int offset,
                  int id)
        eachCommonPrefixメソッドで該当するキーの部分文字列が見つかった都度に呼び出されるメソッド
        Parameters:
        start - 入力テキストの検索開始位置
        offset - 一致した部分文字列の終端位置
        id - 一致した部分文字列のID