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,v 1.16 1999/12/13 03:40:30 sp Exp $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|