net.java.sen.trie
クラス TrieBuilder

java.lang.Object
  上位を拡張 net.java.sen.trie.TrieBuilder

public class TrieBuilder
extends java.lang.Object

Constructs a Trie from the supplied sorted key and value arrays


コンストラクタの概要
TrieBuilder(java.lang.String[] keys, int[] values, int size)
          Creates a TrieBuilder to build the given data
 
メソッドの概要
 void build(java.lang.String filename)
          Builds The trie data file
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

TrieBuilder

public TrieBuilder(java.lang.String[] keys,
                   int[] values,
                   int size)
Creates a TrieBuilder to build the given data

パラメータ:
keys - The sorted Trie keys
values - The values for each key
size - The actual number of entries in the key/value arrays
メソッドの詳細

build

public void build(java.lang.String filename)
           throws java.io.IOException
Builds The trie data file

パラメータ:
filename - The filename for the Trie data file
例外:
java.io.IOException


Copyright ? 2008. All Rights Reserved.