ar.com.ktulu.dict
Class KeyList

java.lang.Object
  |
  +--ar.com.ktulu.dict.KeyList

public class KeyList
extends java.lang.Object

A list of headwords. It usually contains all the words a dictionary has. All this information is stored in memory.

Author:
Luis Parravicini

Field Summary
(package private)  Key[] keys
           
 
Constructor Summary
KeyList()
           
KeyList(java.lang.Object[] k)
           
 
Method Summary
 Matches define(java.lang.String word, Database db)
           
 Matches match(java.lang.String word, Strategy strat, Database db)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

keys

Key[] keys
Constructor Detail

KeyList

public KeyList()

KeyList

public KeyList(java.lang.Object[] k)
Method Detail

size

public int size()

define

public Matches define(java.lang.String word,
                      Database db)

match

public Matches match(java.lang.String word,
                     Strategy strat,
                     Database db)
              throws DatabaseException
DatabaseException