KeywordMap is similar to a hashtable in that it maps keys to values. However, the `keys' are Swing segments. This allows lookups of text substrings without the overhead of creating a new string object. This class is used by CTokenMarker to map keywords to ids.
@author Slava Pestov, Mike Dillon
@version $Id: KeywordMap.java 783 2010-09-10 08:43:19Z h $
| |