T9 Trie Word Completion Algorithm
t9.trie.Pair Class Reference

List of all members.

Public Member Functions

 Pair (String word, int frequency)
int compareTo (Pair obj)
int hashCode ()
boolean equals (Object obj)

Package Attributes

final String word
final int frequency

Detailed Description

Pair - a container for a String (word) and its relative frequency within the top 5K english words.

Sep 3, 2013

Ian Kaplan, iank@bearcave.com

Definition at line 21 of file Pair.java.

Constructor & Destructor Documentation

t9.trie.Pair.Pair ( String  word,
int  frequency 

Definition at line 26 of file Pair.java.

Member Function Documentation

int t9.trie.Pair.compareTo ( Pair  obj)

Definition at line 31 of file Pair.java.

boolean t9.trie.Pair.equals ( Object  obj)

Definition at line 43 of file Pair.java.

int t9.trie.Pair.hashCode ( )

Definition at line 36 of file Pair.java.

Member Data Documentation

final int t9.trie.Pair.frequency [package]

Definition at line 23 of file Pair.java.

final String t9.trie.Pair.word [package]

Definition at line 22 of file Pair.java.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables