FileDocCategorySizeDatePackage
IntTrie.javaAPI DocAndroid 1.5 API2264Wed May 06 22:42:46 BST 2009com.android.im.app

IntTrie

public class IntTrie extends Object

Fields Summary
private Node
mHead
Constructors Summary
public IntTrie(String[] dictionary, int[] values)

        final int len = dictionary.length;

        if (len != values.length) {
            throw new IllegalArgumentException("dictionary[] and values[] must be the same length");
        }

        mHead = new Node();

        for (int i = 0; i < len; i++) {
            mHead.add(dictionary[i], values[i]);
        }
    
Methods Summary
public com.android.im.app.IntTrie$NodegetNode(char key)

        return mHead.getNode(key);