gate.creole.gazetteer
Class DefaultGazetteer.CharMap
java.lang.Object
gate.creole.gazetteer.DefaultGazetteer.CharMap
- Enclosing class:
- DefaultGazetteer
public static class DefaultGazetteer.CharMap
- extends Object
class implementing the map using binary search by char as key
to retrieve the corresponding object.
|
Method Summary |
(package private) Object |
get(char key)
get the object from the map using the char key |
(package private) Object |
put(char key,
Object value)
put the object into the char map using the char as the key |
(package private) void |
resize(int index)
resize the containers by one, leaving empty element at position 'index' |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
itemsKeys
char[] itemsKeys
itemsObjs
Object[] itemsObjs
DefaultGazetteer.CharMap
public DefaultGazetteer.CharMap()
resize
void resize(int index)
- resize the containers by one, leaving empty element at position 'index'
get
Object get(char key)
- get the object from the map using the char key
put
Object put(char key,
Object value)
- put the object into the char map using the char as the key